in reply to parsing hmtl file with regex
Don't use regexen to parse and extract from HTML. You'll almost certainly come a cropper.
Instead, use an appropriate HTML::(module). Search CPAN or ActiveState's PPM repository (depending on which Perl you're using) for the great range of modules ( for ex., CPAN://HTML::Extract] )which do the job.
And, please, wrap data (!!!) and code in <c>...</c> tags, as you're advised at the page where you enter your text.
|
|---|