in reply to
Help with regexes
the first one is matching : begin with one or more space followed by MVA and capturing the spaces
the second one is replacing : one or more space with nothing
the o modifier causes pattern to only be compiled once
Comment on
Re: Help with regexes
In Section
Seekers of Perl Wisdom