I am trying to match a pattern so that I can retrieve a string from a website. Here is the string in Question:\[code\]<a title="Posts by ivek dhwWaVa"href="http://www.example.com/author/ivek/"rel="nofollow">ivek</a>\[/code\]I am trying to match the string "ivek" in between the a tag and I want to do this for each post and relate it to the number of comments.Firstly, what is the regex I should use the above so I can use it as an example for the rest. I have nothing so far:\[code\]$content = file_get_contents('http://www.example.com');preg_match_all("", $content, $matches);\[/code\]And how I would relate the comments to the authors name as there are many other authors on the website and also their own set of comments. Do I use divs to break this up? As each set of info is wrapped around this div:\[code\]<div id="post-54" class="excerpt">\[/code\]Thanks all for any help!