0

I'm using regular expression to replace <a href="**Replace**"> links in my html like this:

FIND: <a(.+)href="([^"]+)"([^>]+)?>
REPLACE (But dont delete "[Nottobedeleted]"): <a\1href="[INSERT NEW URL HERE]"\3>

Is there any way you could make it so if some text appears like "Nottobedeleted" that it just jumps over that?

Fred
  • 13
  • 3

0 Answers0