echo 'one & two &# three  four & five & six' | perl -pe 's/& +(#(3(8(;\K)?)?)?)?//g'
hehehe
In reply to Re: Need a regex to replace incomplete html entities
by tybalt89
in thread Need a regex to replace incomplete html entities
by Chris Daniel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |