[thelist] Using Regular Expressions to remove ASP

Anthony Baratta Anthony at Baratta.com
Mon Feb 23 12:14:35 CST 2004


At 06:54 AM 2/23/2004, Ryan Rushton wrote:

>Could someone tell me how to write an appropriate regular expression that 
>I can use with HomeSite+'s "Extended Replace" feature?

I tested this with TextPad regex:

         <\%.*?\%>

It finds single lines. But if there is more than one line of code it 
doesn't. I don't have time to tweak it for multi-line finds. Hopefully this 
will gett you started.

Here's a good place to research and learn about RegEx:

         http://www.regxlib.com/




More information about the thelist mailing list