title: Working with strings - PHP
body: <p>I need some PHP help with strings.</p>
  
  <p>I have a textbox field where users will enter a facebook profile link.</p>
  
  <p>Example: <a href="http://facebook.com/zuck" rel="nofollow">http://facebook.com/zuck</a></p>
  
  <p>Now the problem is I need to have EXACTLY this string: "<a href="http://graph.facebook.com/zuck" rel="nofollow">http://graph.facebook.com/zuck</a>".</p>
  
  <p>Inputs could be anything like:</p>
  
  <pre><code>http://facebook.com/zuck
  
  http://www.facebook.com/zuck
  
  www.facebook.com/zuck
  
  facebook.com/zuck
  </code></pre>
  
  <p>What's the best way to do that? Thank you in advance.</p>