I have a string that I need to replace any url to be in <a>
html tag
$str='Lorem Ipsum is simply dummy text of http://www.lipsum.com/ the printing';
$outputString=
'Lorem Ipsum is simply dummy text of <a href="http://www.lipsum.com">http://www.lipsum.com/</a> the printing';