Example Analysis of regular expression search in Dreamweaver
This article mainly shows you the "sample analysis of regular expression search in Dreamweaver", which is easy to understand and well-organized. I hope it can help you solve your doubts. Let me lead you to study and study the "sample analysis of regular expression search in Dreamweaver".
For example:
< tppabs="http://www.****.com/images/bg.gif" style="font-size:12px;">The tppabs tag in (estimated to be a tag added by Teleport pro to facilitate its own update)
Javascript code in Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/-->
The best way to have so much code is to match and replace. I searched the Internet and found that there was a guy who had the same problem as me. According to his method, he could replace it with Dreamweaver's regular expression matching. You can find a list of special characters used in regular expressions in Dreamweaver's help.
Write out the matching of the above two redundant codes according to the list:
Match the tppabs tag:
\ btppabs= "h [^"] * "
Match the javascript code:
Href= "_ javascript:if\ (confirm\ ('htt [^"] * ")
And then replace it according to your own needs. How convenient it is!
The above is all the content of the article "sample Analysis of regular expression search in Dreamweaver". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!