title: RegEx filter links from a document
body: <p>I am currently learning regex and I am trying to filter all links (eg: <a href="http://www.link.com/folder/file.html" rel="nofollow">http://www.link.com/folder/file.html</a>) from a document with <strong>notepad++</strong>. Actually I want to delete everything else so that in the end only the http links are listed.</p>
  
  <p>So far I tried this : <code>http\:\/\/www\.[a-zA-Z0-9\.\/\-]+</code></p>
  
  <p>This gives me all links which is find, but how do I delete the remaining stuff so that in the end I have a neat list of all links?</p>
  
  <p>If I try to replace it with nothing followed by \1, obviously the link will be deleted, but I want the exact opposite to have everything else deleted. </p>
  
  <p>So it should be something like:
  - find a string of numbers, letters and special signs until "http"
  - delete what you found 
  - and keep searching for more numbers, letters ans special signs after "html" 
  - and delete that again</p>
  
  <p>Any ideas? Thanks so much.</p>