My full answer would be:
Perhaps you'll manage to get this to work, but really, regexes, wonderful as they are, are the wrong tool here. I offered a bit of code in the spirit of "Don't you see how hairy this is going to have to be?"
Parse your HTML. wfsp has been kind enough to furnish details.
In reply to Re^3: Substitution inside tags, as 1 line
by Narveson
in thread Substitution inside tags, as 1 line
by tel2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |