in reply to regex: extract a substring
$foo = "abchelloxyz"; $foo =~ s/abc([\w]+)xyz/$1/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (wil) Re: regex: extract a substring
by krujos (Curate) on May 23, 2002 at 21:28 UTC | |
by Hofmator (Curate) on May 24, 2002 at 17:07 UTC | |
by insensate (Hermit) on May 23, 2002 at 23:12 UTC |