Welcome To Snipplr


Everyone's Recent Regular Expression Snippets Tagged url



« Prev 1 Next »
  1. FAV

    Regular Expression for Matching URLs with or without http(s)

    thanks to... http://gskinner.com/RegExr/ http://daringfireball.net/2010/07/improved_regex_for_matching_urls
    Regular Expression saved by 4 people 13 views posted 7 years ago by brandonjp
  2. FAV

    regex url parser

    Regular Expression saved by 1 person 6 views posted 9 years ago by darronz
  3. FAV

    YouTube URL matcher, video ID catcher

    PCRE that matches any kind of YouTube URL and catches its video ID. It supports three kinds of URL: the classic (?v=), the AJAXed one (#!v=) and the short version (youtu.be). It also supports international URLs. Tested with Javascript and PHP.
    Regular Expression saved by 5 people 9 views posted 9 years ago by nkm
  4. FAV

    Match URLs in Plain Text

    Regular Expression saved by 1 person 1 views posted 9 years ago by bostonbasso
  5. FAV

    Regex to detect urls

    Regular Expression saved by 1 person 2 views posted 10 years ago by arpit
  6. FAV

    Actually useful URL parsing RegEx

    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
    Regular Expression saved by 2 people 4 views posted 10 years ago by remotezygote
  7. FAV

    Regular Expressions For URI Validation/Parsing

    (Supported by JavaScript, maybe other languages)
    Regular Expression saved by 20 people 15 views posted 11 years ago by wizard04
« Prev 1 Next »