this might need some debugging... you also probably have to worry about finding quotes within the tags as well... but this is the basic idea.sub find_tags { $tag = $_[0]; $tag =~ m/<(.*?)>(.*?)<.*?>/ print "$1 : $2"; if ($2 =~ m/</) {find_tags($2);} }
In reply to Re: Pulling the content of HTML tags
by jlistf
in thread Pulling the content of HTML tags
by markguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |