Regular Expressions 101

Sponsors

Library entries

1
pcre

full-notes-1

no description available
Submitted by anonymous - 7 years ago
1
pcre

match sql identifiers but not functions

no description available
Submitted by ikkez - 7 years ago
1
pcre

Sustitucion 2 E' e'

no description available
Submitted by anonymous - 7 years ago
1
pcre

Sustitucion E '

no description available
Submitted by anonymous - 7 years ago
1
pcre

Parses -FileDateTimeUniversal structure

no description available
Submitted by anonymous - 7 years ago
1
pcre

Kaluga Astral Error Parser

no description available
Submitted by anonymous - 7 years ago
1
pcre

Slow As Butts Regex

Look(ahead|behind)s are slow
Submitted by anonymous - 7 years ago
1
pcre

DustySky URI

This PCRE matches DustySky URI structure.
Submitted by Damian Torres - 7 years ago
1
pcre

Marrocco Phone

no description available
Submitted by anonymous - 7 years ago
1
pcre

(aller) + -z

no description available
Submitted by anonymous - 7 years ago
1
pcre

asas

no description available
Submitted by anonymous - 7 years ago
1
pcre

teste

no description available
Submitted by anonymous - 7 years ago

URL parser/validator

Vote

1

Regular Expression
pcre

/
^(https?:\/\/)? # optional scheme ((?:[-a-z0-9._~!$&\'()*+,;=]|%[0-9a-f]{2})+ # optional username@, (?::(?:[-a-z0-9._~!$&\'()*+,;=]|%[0-9a-f]{2})+)?@)? # or username:password@ (?:((?:(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])) # IPv4 address |((?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z][a-z0-9-]*[a-z0-9])) # or dot-separated domain labels (:\d+)? # optional port number ((?:\/(?:[-a-z0-9._~!$&\'()*+,;=:@]|%[0-9a-f]{2})+)*\/?) # path (possibly empty, may end in /, no double-// allowed) (\?(?:[-a-z0-9._~!$&\'()*+,;=:@\/?]|%[0-9a-f]{2})*)? # optional querystring (\#(?:[-a-z0-9._~!$&\'()*+,;=:@\/?]|%[0-9a-f]{2})*)?$ # optional fragment
/
ix

Description

Loading markdown...
Submitted by doin - 7 years ago