Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my ($type,$mesg) = ($data =~ /<([A-Za-z]+) [+>]+>(.+)<\/$1>/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using a Regex to extract tagged content
by davido (Cardinal) on Feb 27, 2004 at 16:13 UTC | |
by Fletch (Bishop) on Feb 27, 2004 at 16:24 UTC | |
by davido (Cardinal) on Feb 27, 2004 at 16:27 UTC | |
by PodMaster (Abbot) on Feb 28, 2004 at 10:46 UTC | |
|
Re: Using a Regex to extract tagged content
by gryphon (Abbot) on Feb 27, 2004 at 16:27 UTC | |
|
Re: Using a Regex to extract tagged content
by lestrrat (Deacon) on Feb 27, 2004 at 16:25 UTC | |
|
Re: Using a Regex to extract tagged content
by injunjoel (Priest) on Feb 27, 2004 at 16:35 UTC |