in reply to
How can a regex match every occurence of a string?
use /g; as your modifier.
Comment on
Re: How can a regex match every occurence of a string?
In Section
Seekers of Perl Wisdom