in reply to extract text between slashes
extract the data between slashes within a string of course
which might be more than one item.
my $str = '%/%/ISIN/US1252691001'; my @strings = $str =~ m{(?<=/)[^/]+}g ; print join ', ', @strings, "\n"; print $strings[1];
Regards
mwa
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: extract text between slashes
by johngg (Canon) on Oct 31, 2007 at 19:36 UTC | |
by mwah (Hermit) on Oct 31, 2007 at 20:10 UTC |