Posted By

bostonbasso on 03/22/10


Tagged

url scrape spider


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

tiffle
Tyster


Match URLs in Plain Text


 / Published in: Regular Expression
 

  1. ^((ht|f)tp(s?)\:\/\/|~/|/)?([\w]+:\w+@)?(([a-zA-Z]{1}([\w\-]+\.)+([\w]{2,5}))(:[\d]{1,5})?)?((/?\w+/)+|/?)(\w+\.[\w]{3,4})?([,]\w+)*((\?\w+=\w+)?(&\w+=\w+)*([,]\w*)*)?

Report this snippet  

You need to login to post a comment.