I'm creating a tool for my websites to see what position they are in Google on different keywords.
Now, I want to collect this part of their sourcecode:
<a href="http://www.test.com/" class=l onmousedown="return clk(this.href,'','','','1','','0CBoQFjAA')">Linktitle in Google!</a>
The problem is that the preg_match OR preg_match_all function doesn't match "onmousedown" or "this.href" or the ,'1' part of the link. And that is exactly the part i need...
Does anyone has an idea why this is, and more important.. how to solve this???
The code I use is obvious.. i even tried to use "/onmousedown/" or "/\'1\'/" but it didn't help.
Thank you very much!!!!