title: Coldfusion Parse URLs in text
body: <p>Can anyone help with a function that will parse all urls into valid html links in a text string?</p>
  
  <p>For example:</p>
  
  <p>"Welcome to <code>www.nerds4life.com</code>. View our articles at <code>nerds4life.com</code> or at <code>http://nerds4life.com</code> or also <code>http://www.nerds4life.com</code>"</p>
  
  <p>would become:</p>
  
  <p>"Welcome to <a href="http://www.nerds4life.com" rel="nofollow">www.nerds4life.com</a>. View our articles at <a href="http://nerds4life.com" rel="nofollow">nerds4life.com</a> or at <a href="http://nerds4life.com" rel="nofollow">http://nerds4life.com</a> or also <a href="http://www.nerds4life.com" rel="nofollow">http://www.nerds4life.com</a>"</p>
  
  <p>What would be the best way to approach this. Regex (and if so, how?) or loop through each word in the text (would think that's less efficient)</p>
  
  <p>Thanks</p>