Regular Expressions 101

Sponsors

Library entries

2
pcre2

Check Phone numbers

Other patterns
Submitted by https://joserobinson.com - a year ago
2
pcre2

Grabify URL Detector

Detects any Grabify IP tracker links
Submitted by ShadowNox - 10 months ago
2
pcre2

UUID 4

Detects any UUID 4 strings
Submitted by ShadowNox - 10 months ago
2
pcre2

Delete hour range

Select duplicate a.m. - p.m range
Submitted by profeivan - 5 months ago
1
golang

Flexible box

no description available
Submitted by anonymous - 2 years ago
1
golang

Lxx Wurzel

no description available
Submitted by anonymous - 2 years ago

IPv4 private CIDR range RFC1918

Vote

1

Regular Expression
golang

`
^(10(\.(([0-9]?[0-9])|(1[0-9]?[0-9])|(2[0-4]?[0-9])|(25[0-5]))){3}/([8-9]|(1[0-9])|(2[0-9])|(3[0-1])))|(172\.((1[6-9])|(2[0-9])(3[0-1]))(\.(([0-9]?[0-9])|(1[0-9]?[0-9])|(2[0-4]?[0-9])|(25[0-5]))){2}/((1[2-9])|(2[0-9])|(3[0-1])))|(192\.168(\.(([0-9]?[0-9])|(1[0-9]?[0-9])|(2[0-4]?[0-9])|(25[0-5]))){2}/((1[6-9])|(2[0-9])|(3[0-1])))|(127(\.(([0-9]?[0-9])|(1[0-9]?[0-9])|(2[0-4]?[0-9])|(25[0-5]))){3}/([8-9]|(1[0-9])|(2[0-9])|(3[0-1])))$
`
gm

Description

Loading markdown...
Submitted by David Stockton - 3 years ago