Forum Moderators: open
<%=FourRadio("A2_1")%>
<%=FourRadio("A2_2")%>
<%=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?
<%=FourRadio("A2_1")%>
<%=FourRadio("A2_2")%>
<%=FourRadio("A2_3")%>
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
<%=FourRadio("A2_\d{1,3}")%>
\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 :)
/added
not sure if DW regexp is any different from PHP or Perl's.....but \d{1,3} seems pretty standard for any flavour.