Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

dreamweaver find/replace help



9:07 pm on Dec 4, 2002 (gmt 0)

10+ Year Member

I'm trying to strip some ASP tags from a bunch of pages formatted as follows:

<%=FourRadio("A2_3")%> ...

I looked into the help files for using regular expressions as well as several posts on the forums but am not having any luck figuring them out. Basically, I need to completely remove any tag with the above format regardless of the text contained within the " ".

Is there an automated way of doing this or will I have to spend hours manually deleting several hundred tags?

brotherhood of LAN

3:46 am on Dec 5, 2002 (gmt 0)

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Hi tarheel2002,


So they go up in 1's......and all of them are like this? What number do they go up to? ....

The regular expression will need to take this into account if you want to do it in one foul swoop.

Try using something like

\d just means its a numeric character and the {1,3} means its only a match if there is between one and 3 numbers after the A2_ bit.

Mind and backup your site before doing anything like this :)

not sure if DW regexp is any different from PHP or Perl's.....but \d{1,3} seems pretty standard for any flavour.


1:36 pm on Dec 5, 2002 (gmt 0)

10+ Year Member

thanks, but no luck :-(

Featured Threads

Hot Threads This Week

Hot Threads This Month