Welcome to the Monastery. I'd advise not using a regex to manipulate a HTML/XML, rather using one of the parser modules available. For example read HTML::TokeParser Tutorial.
In reply to Re: one line regular expression - help needed
by marto
in thread one line regular expression - help needed
by Thalamus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |