Finding image link in comment and add html tag to it
<p>I have web application i need to add new function to it.</p>

<p>I allow user to post comment. Now what i want is if any user just post image url it should turn into proper with html tag. I am using php.</p>

<p>For example if user post just plan link of image, now i want it to add html tag to it itself.</p>

<pre><code>Hi how are you? http://www.example.com/image/user/1.jpg have a good day!
</code></pre>

<p>And should look like this this: </p>

<pre><code>Hi how are you? &lt;img src="http://www.example.com/image/user/1.jpg"&gt; have a good day!
</code></pre>
