I have a script I wrote to scan several websites for a google link to make sure it is there. For some reason my script is not working. When I check it at http://www.regexr.com/, it works, but not in live implementation.
example of a link its supposed to find:
https://plus.google.com/+VincentsHeatingPlumbingIncPortHuronTownship/about?hl=en
preg_match I am using:
if (preg_match_all("/(.*)plus.google.com(.*)/", $attributeValue->value)) 
{ 
  $googleLinkCount ++;
  $googleLinkHrefs[] = $attributeValue->value;
}
 
    