|
|
| There's more than one way to do things | |
| PerlMonks |
Re: extract the value before a particualr stringby hdb (Monsignor) |
| on Sep 05, 2013 at 10:07 UTC ( [id://1052533]=note: print w/replies, xml ) | Need Help?? |
|
I suggest to split on the regex /\s|\// and then to pick the second from last element of the resulting array.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||