Excellent catch! Perhaps just the following: /&(?!\S+?;)/
In reply to Re^4: Perl & regex help by Kenosis in thread Perl & regex help by Anonymous Monk