preg_match('!<meta name="name" content="(.*?)"/>!is', $contents, $meta);
That would pull anything out between content="someinfo goes here"/>
This time I'm attempting to say, if anything at all is between the quotes in content=" ">, then do this. How would I test that something is between the quotes?