foreach my $i ( @chunks ) { next if $i !~ m/ ^ (?!\*) (?!(?!\d)\w) (?!\d+\.) /x; print $i; }
In reply to Re: regex to match words and numbers
by happy.barney
in thread regex to match words and numbers
by doubledecker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |