in reply to Multiple Search and Replace in Single Line
If you're wanting to strip more than one thing, just use |
$var =~ s/\s+|\n//g; [download]
However, the character class \s contains \n, so it's redundant.