small fix:
my $line = '<META NAME="TITLE" CONTENT="Page Title Here">'; $line =~ /<meta name="title" content="([^"]+)">/i; print $1; __END__ Page Title Here
If you do more html-processing than that, consider to use a readymade module instead of regexp'ing your way through it.
regards,
tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.
In reply to Re: Grabbing meta tag info
by Tomte
in thread Grabbing meta tag info
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |