Regular Expressions 101

Sponsors

Library entries

0
pcre2

scss class matching

scss class matching
Submitted by lucas - 9 months ago
0
pcre2

Note Body HTML

Match all valid HTML tags
Submitted by anonymous - 9 months ago
0
pcre2

Barcode Regex

Barcode Regex
Submitted by anonymous - 9 months ago
0
pcre2

optional

optional
Submitted by anonymous - 9 months ago
0
pcre2

Split The Phone Numbers

Split The Phone Numbers
Submitted by anonymous - 9 months ago
0
pcre2

Ipv4 validation

regex for ip validation
Submitted by Amper - 9 months ago

IPv4 non zero first and last octet

Vote

0

Regular Expression
pcre2

/
^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[1-9][0-9]?|0?[0-9]?[1-9])(.(25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9])){2}.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[1-9][0-9]?|0?[0-9]?[1-9])$
/
gm

Description

Loading markdown...
Submitted by John Cutburth - a year ago