I've been trying to figure this out for a long time. how can i take:
<a href="http://domain.com/news/?=1" target="_blank">blah blah blah</a>
to:
[link=http://domain.com/news/?=1]blah blah blah[/link]
i'm not even sure what functions i should use for this. i am assuming preg_replace. any help would be cool. Thanks.