[thelist] Using Regular Expressions to remove ASP

Ryan Rushton me at ryanrushton.com
Mon Feb 23 08:54:01 CST 2004


I have a large number of HTML forms that previously used ASP.  I would like 
to strip out all of the ASP code bits from the forms, specifically, any 
block beginning with "<%=" and ending with "%>".  (see two examples below)

<%= iif(LLRF6002.SEC21HWJC='-','selected','') %>
<%= LLRF6D01.CR04PRPSB2 %>

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

More information about the thelist mailing list