in reply to How to ignore/replace all whitespaces,tab spaces, new line from a given string in REGEX ??
Not sure what you mean by "ignore" all white space, and you don't say what you want to "replace" it with, so this code just removes all white space.
$name =~ s/\s//g;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|