title: Detecting address type given an a string
body: <p>I have a text box, which users are allowed to enter addresses in these forms:</p>
  
  <pre><code>somefile.htm
  someFolder/somefile.htm
  c:\somepath\somemorepath\somefile.htm
  http://someaddress
  \\somecomputer\somepath\somefile.htm
  </code></pre>
  
  <p>or any other source that navigates to some content, containing some markup.</p>
  
  <p>Should I also put a drop down list near the text box, asking what type of address is this, or is there a reliable way that can auto-detect the type of the address in the text box?</p>