<a href="http://www.domain.com?blahblah=blahblah">MyLink</a>
$pattern = "[\"].[\"]";
preg_match($pattern, $text, $matches);
I am trying to get the URL within the double quotes ... have frantically googled it like crazy but keep getting things like this:
Warning: preg_match(): Unknown modifier '.' in ...[line where preg is called]
Any help on this would be greatly appreciated !!
php -v
PHP 5.2.13 (cli) (built: Mar 17 2010 04:08:01)
gvanto