in reply to
Extracting names from string
Assuming that:
1) Name is always between / and |
2) The first / marks the start of the name
$string =~ /\/([\w\s]+)\|/; $name = $1;
[download]
Comment on
Re: Extracting names from string
Download
Code
In Section
Seekers of Perl Wisdom