in reply to Re: Grabbing meta tag info
in thread Grabbing meta tag info
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
|
|---|