in reply to Find string match
$str =~ /into\s(.*?)\(/
Now you should have your name in the variable $1.
(see also the following info on regexes and greediness)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Find string match
by Utilitarian (Vicar) on Feb 23, 2010 at 12:58 UTC | |
by cdarke (Prior) on Feb 23, 2010 at 13:18 UTC | |
by Utilitarian (Vicar) on Feb 23, 2010 at 14:39 UTC | |
by cdarke (Prior) on Feb 23, 2010 at 14:22 UTC | |
by BrowserUk (Patriarch) on Feb 23, 2010 at 14:43 UTC | |
|
Re^2: Find string match
by ddragosa (Acolyte) on Feb 23, 2010 at 12:59 UTC |