in reply to Re: Extract text from HTML
in thread Extract text from HTML
to first strip the HTML gook and then search the remainder for "Note". The thing is that "@note" prints out everything after Note: i.e. all the other coding in the remainder of the (formerly) HTML file, etc. Is there any way I can get it to search for Note:, collect all the information after it and stop when it reaches "Pre" or "Attrib" or "Link"? Would greatly appreciate your feedback. Thanks.my $we = extract_html_text($browser->{res}->content); my @note = $we =~ m/Note:\s*([^<]+)/gi;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Extract text from HTML
by Anonymous Monk on Dec 28, 2002 at 19:07 UTC |