in reply to Re: extract text between slashes
in thread extract text between slashes
# method 1 @matches = $string =~ m{/(.*?)/}g; # method 2 @matches = split m{/}, $string; # print the one you want print $matches[1];
__________
Systems development is like banging your head against a wall...
It's usually very painful, but if you're persistent, you'll get through it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: extract text between slashes
by johngg (Canon) on Oct 31, 2007 at 19:50 UTC |