Regular Expressions 101

Sponsors

Library entries

0
javascript

positivehead_dollar

(?=\w{5,})(?=\D*\d{2}$)
Submitted by anonymous - 3 years ago
0
pcre

Checkpoint firewall critical

no description available
Submitted by anonymous - 3 years ago
0
javascript

postcode both lower & upper case

no description available
Submitted by anonymous - 3 years ago
0
pcre

Ad-Din Picker Solved Regex

no description available
Submitted by anonymous - 3 years ago
0
pcre

1 A-Z, unlimited numbers

no description available
Submitted by anonymous - 3 years ago
0
pcre

1 A-Z, unlimited numbers

no description available
Submitted by anonymous - 3 years ago
0
pcre

Sophos UTM

welsh blood
Submitted by anonymous - 3 years ago
0
pcre

Token Key/Value

no description available
Submitted by anonymous - 3 years ago
0
pcre

Extract parent domain from DNS FQDN

no description available
Submitted by anonymous - 3 years ago
0
javascript

ip4校验

no description available
Submitted by anonymous - 3 years ago
0
pcre

MM NRC

no description available
Submitted by anonymous - 3 years ago
0
pcre

Key / Value based off =&

no description available
Submitted by anonymous - 3 years ago
0
pcre

Key/value using =

no description available
Submitted by anonymous - 3 years ago
0
pcre

Key/value using :

no description available
Submitted by anonymous - 3 years ago
0
golang

transform regex

vault sync
Submitted by anonymous - 3 years ago

RFC 3986 Valid URL

Vote

0

Regular Expression
pcre

/
# allow multiple groups with the same name (?J) # protocol user host-ip port path path path querystring fragment ^ #protocol (?:(?<scheme>[a-zA-Z][a-zA-Z\d+-.]*):)? (?| #slash-slash \/\/ #userinfo (?: #user (?<user>[a-zA-Z\d\-._~\!$&'()*+,;=%]*) #password (?::(?<pass>[a-zA-Z\d\-._~\!$&'()*+,;=:%]*))? @)? #host-ip (?<host>(?:[a-zA-Z\d-.%]+)|(?:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(?:\[(?:[a-fA-F\d.:]+)\]))? #port (?::(?<port>\d*))? #slash-path (?<path> (?:\/ [a-zA-Z\d\-._~\!$&'()*+,;=:@%]* )* ) #slash-path |(?<user>)(?<pass>)(?<host>)(?<port>) (?<path>\/ [a-zA-Z\d\-._~\!$&'()*+,;=:@%]+(?:\/[a-zA-Z\d\-._~\!$&'()*+,;=:@%]*)*)? #path |(?<user>)(?<pass>)(?<host>)(?<port>) (?<path> [a-zA-Z\d\-._~\!$&'()*+,;=:@%]+(?:\/[a-zA-Z\d\-._~\!$&'()*+,;=:@%]*)*) )? #querystring (?:\?(?<query>[a-zA-Z\d\-._~\!$&'()*+,;=:@%\/?]*))? #fragment (?:\#(?<fragment>[a-zA-Z\d\-._~\!$&'()*+,;=:@%\/?]*))? $
/
xmg

Description

Loading markdown...
Submitted by anonymous - 3 years ago