If you do more html-processing than that, consider to use a readymade module instead of regexp'ing your way through it.
Yes, I can definitely agree with that, but if you do want to take your regex route, you might want to use a zero-width positive look-behind assertion like /(?<=<meta)content=([^"]+)/ to decrease the likelihood it will break if the tag attributes are not in the same order. :)
--
Allolex
In reply to Re: Re: Grabbing meta tag info
by allolex
in thread Grabbing meta tag info
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |