Regular Expressions 101

Sponsors

Library entries

0
golang

Customer

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

image cid

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

lightsail cli scp argument parsing

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

Angular commit

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

jvm core dump grab

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

Find ip, link

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

Find ip and link full

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

Regex for C-style assignments

no description available
Submitted by cemares - 4 years ago
0
golang

recipes

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

Last Name & Comma Regex

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

getfreessimg

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

Celulares - Tamanho de tela

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

[229187] - Celular - Memoria Interna

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

[229187] - Celular - Tamanho de tela

no description available
Submitted by anonymous - 4 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 - 2 years ago