Here is what my code looks like:
preg_replace("/(test)/i", "<strong>$1</strong>", $text);
And here is an example string:
"<a href="www.website.com/search/%23test">#test</a>"
I want to capture the second 'test' but not the first one in the URL.