How about:
s/(<url>)|<|>/$1||''/egAlso, note that by modifying $_[0], you're also changing $test. And may I ask in what context < and > are "hazardous"?
In reply to Re: Hazardous characters filter
by no_slogan
in thread Hazardous characters filter
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |