in reply to
quick regex question
\s
is whitespace. try
s/\///g;
.
-s.
Comment on
Re: quick regex question
Select
or
Download
Code
Replies are listed 'Best First'.
Re: quick regex question
by
Abigail-II
(Bishop)
on Jul 15, 2003 at 13:55 UTC
\s
is only whitespace in a regexp, not in the substitution part. There
\s
is just an
s
.
Abigail
[reply]
In Section
Seekers of Perl Wisdom