Ah, yes. Perhaps a more general form for the html entities, e.g.,:
/&(?!.+?;)/
Update: I have no idea what I was 'thinking' here. Excellent and appreciated corrections to this below...
In reply to Re^2: Perl & regex help
by Kenosis
in thread Perl & regex help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |