in reply to Fetching meta tag info

Just to clarify why your regexp is broken: you escaped the asterisk with a backslash, so you are looking for a literal asterisk in $line, which isn't there.

Your regexp is quite brittle however: it fails to match your third example and any variation in the amount of whitespace in the meta tag will defeat it. You're better off using any of the examples given in the other answers.

CU
Robartes-