Welcome to WebmasterWorld Guest from 126.96.36.199
$q = 'site:webmasterworld.com intitle:google adsense intext:contextual advertising';
Text to be extracted:
$val[intitle] = 'google adsense';
$val[intext] = 'contextual advertising';
I've tried lots of variants similar to:
$match[intitle] = '/(^¦ )intitle:?(.+)( intitle:¦ intext:)/i';
preg_match($match[intitle], $q, $varInTitle);
But I'm crap at regex... :( nothing is working the way I want.
Can anyone help?