Return to Snippet

Revision: 31146
at August 31, 2010 00:25 by darronz


Initial Code
/^((http[s]?|ftp):\/)?\/?([^:\/\s]+)(:([^\/]*))?((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(\?([^#]*))?(#(.*))?$/gi

schema = 2,
domain = 3,
port = 5,
path = 6,
file = 8,
querystring = 9,
hash = 12

Initial URL

                                

Initial Description

                                

Initial Title
regex url parser

Initial Tags
url

Initial Language
Regular Expression