I hope this is right, I'm new here and have been needed help for awhile now. I'm not too advanced with REGEX in php, so I figured I'd have to ask some others about it.
So basically I have this string:
{ctml->url:profile/show?id=1}Dan</a> has visited {ctml->url:networks/show?type=region&network=126&networkname=st_louis}St. Louis, MO</a>.
My goal is to get the link from the {ctml->url:link} and run it through a custom PHP function "get_url();" and then return it as something like
'<a href="'.$get_url_response.'">Dan</a> has blah blah blah <a href="'.$get_response2.'">St. Louis</a>.
Of course that would be correctly formatted as it would outputted by PHP. The only problem is that I have no clue where to start, so any help would be much appreciated!
Thanks, Dan.