Regular Expressions 101

Sponsors

Library entries

0
pcre2

Email

A valid Email
Submitted by AiAbdrahim - a year ago
0
pcre2

Email

no description available
Submitted by AiAbdrahim - a year ago
0
pcre2

URL

This pattern can detect URLs.
Submitted by anonymous - a year ago
0
pcre2

AOC 2020 day 18

no description available
Submitted by Alan Nevill - a year ago
0
pcre2

Sagitta - LTEPIC

no description available
Submitted by anonymous - a year ago
0
javascript

time input format matching

no description available
Submitted by Pavel Dominguez - a year ago
0
pcre2

docker ps -> firewall

no description available
Submitted by anonymous - a year ago
0
javascript

non zero

no description available
Submitted by anonymous - a year ago
1
pcre2

MyRegEx

no description available
Submitted by anonymous - a year ago
0
pcre2

US/Canada Zip if at end of line

no description available
Submitted by anonymous - a year ago
0
pcre2

Fin de phrase sans espace

no description available
Submitted by anonymous - a year ago
0
pcre2

calculator expressions

no description available
Submitted by anonymous - a year ago
0
pcre2

derinlik

no description available
Submitted by anonymous - a year ago
0
pcre2

match id in the middle of a url

no description available
Submitted by anonymous - a year ago
0
pcre2

grades

no description available
Submitted by anonymous - a year ago
0
pcre2

Match URLs

no description available
Submitted by anonymous - a year ago
0
pcre2

res id and distance

no description available
Submitted by anonymous - a year ago

IPV6 Validator

Vote

0

Regular Expression
javascript

/
^((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?$
/
gm

Description

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