in reply to Perl HTML Form elements Filter
However using regex's to parse html is NOT advised and it is much better to use a module such as HTML::Parser.my @names; while(<>){ my $foo; while ($foo = /name=([^> ]*)/gi) {$foo =~ s/^"|"$//g; push @names, $f +oo} }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl HTML Form elements Filter
by davorg (Chancellor) on Nov 28, 2000 at 13:59 UTC |