![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Replacing whitespaces with a regexby tmharish (Friar) |
on Mar 04, 2013 at 14:25 UTC ( [id://1021654]=note: print w/replies, xml ) | Need Help?? |
The essence is that you are using regex to match - but what you want to do is use s/regex/replace/ to replace. Details on how to do it in your case has been covered extensively above.
In Section
Seekers of Perl Wisdom
|
|