From that, you can reconstruct a string from it, in whatever way you like. Like, using the default value for $", returns what you seem to want:my @all = $string =~ /[^_]+/g;
my $result = "@all";
In reply to Re: a small regexp question
by bart
in thread a small regexp question
by newroz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |