<?php
$post = array(
'post_content' => '<strong><a href="http://en.wikipedia.org/wiki/Rihanna" target="_blank">Rihanna</a></strong> and <strong><a href="http://en.wikipedia.org/wiki/Eminem" target="_blank">Eminem</a></strong> are back together, but this time no one's getting beaten and no <a href="http://www.youtube.com/watch?v=uelHwf8o7_U" target="_blank">homes are getting torched</a>, it's just a good, old-fashioned therapy session in an abandoned warehouse, as one does.<!--more-->
In the video, Rihanna prescribes Em one (1) movie and one (1) ride down an elevator shaft with his old selves. In the end, he meets himself, trapped in a box, and chooses to get back in the elevator. Dr. Rihanna is in the house!
<a href="http://www.directlyrics.com/eminem-the-monster-lyrics.html" target="_blank">Lyrics for the song are now on Directlyrics</a>.'
);
$countMatches = preg_match_all('/<a(.*?)(www.)?directlyrics.com(.*?)>/i', $post['post_content'], $matches);
var_dump($matches);