Welcome To Snipplr


Everyone's Recent Regular Expression Snippets Tagged url



« Prev 1 Next »
thanks to... http://gskinner.com/RegExr/ http://daringfireball.net/2010/07/improved_regex_for_matching_urls
1 5913 posted 13 years ago by brandonjp
1 3975 posted 16 years ago by darronz
1 1766 posted 16 years ago by arpit
Matches are as follows: 0 = protocol 1 = fqdn 2 = subdomain 3 = top level subdomain 4 = domain (blah.com) 5 = port 6 = path 7 = query string 8 = hash
1 2039 posted 17 years ago by remotezygote
(Supported by JavaScript, maybe other languages)
3 7746 posted 18 years ago by wizard04
« Prev 1 Next »