in reply to
Parsing Quark file with RegEx
This seems to be doing what you want.
foreach (@FILE){ s/<Bz8>(\S*)/<Bz8>$1<\$>/; }
[download]
Comment on
Re: Parsing Quark file with RegEx
Download
Code
In Section
Seekers of Perl Wisdom