title: How do I convert plain text links/URL's to HTML (images AND links)
body: <p>So I have a large string of text that can contain links to websites or images. I want to convert these plain URL's to html elements.</p>
  
  <p>Example input:</p>
  
  <pre><code>Hi my name is Harry you can find my website here: http://www.harry-rox.com. Oh and what do you think of my my wife: http://www.anothersite.com/wife.jpg?
  </code></pre>
  
  <p>Needed output:</p>
  
  <pre><code>Hi my name is Harry you can find my website here: &lt;a href="http://www.harry-rox.com"&gt;http://www.harry-rox.com&lt;/a&gt;. Oh and what do you think of my my wife: &lt;img src="http://www.anothersite.com/wife.jpg" /&gt;?
  </code></pre>
  
  <p>Note;</p>
  
  <p>I found some regex examples that do one of both conversions (URL to href element, or image URL to  tag, but I can't seem to find way to combine them! :(</p>