$string="There is an URL in the middle of nowhere: **http://w...content-available-to-author-only...e.com/dnvjndjnvjd** and here's another one **http://w...content-available-to-author-only...e.com/ddadadada**";
There is an URL in the middle of nowhere: <a href='http://w...content-available-to-author-only...e.com/dnvjndjnvjd'>example.co</a> and here's another one <a href='http://w...content-available-to-author-only...e.com/ddadadada'>example.co</a>