How about removing the whitespace in the original string first?
$text =~ s/\s//g; # or tr///, etc do_something( $text ) if $text =~ /your_pattern_here/;
--MidLifeXis
In reply to Re: Regexp to match regardless of whitespace
by MidLifeXis
in thread Regexp to match regardless of whitespace
by austinj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |