Given the vagaries of html, the consensus of Monks seems to be that it's generally a bad idea to try to edit html with regex; you're better off using one of the CPAN modules.
I would also suggest that a formal Perl program, vs a one-liner, as it's likely that somewhere along the way somebody will say "you know that program you've got fixing this html...well, it also needs to do this..."
In reply to Re: Perl command line search and replace
by swampyankee
in thread Perl command line search and replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |