in reply to Re^4: Extract a small part of a long sentence using regular expressions
in thread Extract a small part of a long sentence using regular expressions
my %hash = map { $key++ => $_ } grep { $_ != 0 } map { split /,/ } $line =~ /action \( ( [^)]+ ) \) /gx;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Extract a small part of a long sentence using regular expressions
by karlgoethebier (Abbot) on Dec 02, 2014 at 20:31 UTC |