in reply to Matching enclosed expression
While you will undoubtedly be reminded not to parse html with a regex... Here's something simple, and fragile :)
my $pattern = 'http://www.blah.com/cgi.pl?id=<blah>&blah'; my $matched =($pattern =~ /(\<\w+\>)/,$1); print "$matched";
Whip me, Beat me, Make me use Y-ModemG.<blah>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Matching enclosed expression
by shenme (Priest) on Sep 15, 2003 at 00:26 UTC | |
Re: Matching enclosed expression
by Abigail-II (Bishop) on Sep 15, 2003 at 07:13 UTC |
In Section
Seekers of Perl Wisdom