Hello! I am writing a little script that will get the meta tags out of a page. It's coded in PHP, but afaik regular expressions work on most programming languages. Because the "get_meta_tags" function is very slow and cannot handle very well line breaks, I'm using following code: preg_match_all ('/<[\s]*meta[\s]*name[\s]*=[\s]*["\']?([^>"\']*)["\']?[\s]*content[\s]*=[\s]*["\']?([^>"\']*)["\']?[\s]*[\/]?[\s]*>/si', $content, $matches); PHP: I try to make the code as flexible as possible and to be able to get the tags even if they are not valid. Any suggestions to improve the regular expression? Thanks, Boby.