foreach (@array) { @pieces = split / - /; foreach (@pieces) { #then just grab the last full word # do regex stuff here. if (/(\w+)$/) { push @newarray, $1; } } }
In reply to Re: regex assistance
by raybies
in thread regex assistance
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |