$str="hi this http://google.com <a href="http:
//yahoo.com">http://yahoo.com</a>";
i want to convert http://google.com to clickable link in above string but i don't want convert already anchor text & anchor href.
how can i achieve that one using php / javascript?