TASdvlper has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
Hopefully a quick one for ya. Say I have a string:
I want to run a regexp and search for 2 or more consecutive spaces, and if I find it, substitute for each space. So the above would look like:my $foo = "the lazy brown fox jumped..."
Any help would be greatly appreciated.my $foo = "the lazy nbsp;brown  fox &nb +sp; jumped..."
Back to
Seekers of Perl Wisdom