It won't work with reversed attributes, single quoted attributes, and lots more... Use a module. I hear HTML::Parser is nice.while($content =~ /<meta\s+name=\"(.+?)\"\s+content=\"(.+?)\">/ig) +{ $count++; $meta_results[$count] = "$1::$2"; }
Good luck
Updated: thought $content really was a filehandle, but it wasn't.
In reply to Re: meta parsing problems
by Joost
in thread meta parsing problems
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |