0
$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?

1 Answers1

0

you can use auto link function to do this type of things

Sabbir
  • 1,374
  • 1
  • 15
  • 23