more useful options | |
PerlMonks |
Re: Removing extra spacesby davido (Cardinal) |
on Jul 31, 2012 at 02:26 UTC ( [id://984549]=note: print w/replies, xml ) | Need Help?? |
Match a single space, and optionally a second space. Capture that second space if it exists. Replace with the capture, which will be either nothing, or the second space. Dave
In Section
Seekers of Perl Wisdom
|
|