in reply to Extract data between script tags
For anything more complex, use HTML::TreeBuilder or derivatives , or HTML::SimpleParse.my @Extracted_scripts = $HTML_string =~/<script>(.+?)<\/script>/sig;
What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
-Larry Wall, 1992
|
|---|