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
In reply to Re: Extract data between script tags
by NetWallah
in thread Extract data between script tags
by doubledecker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |