Regular Expressions 101

Community Patterns

1

pm-problem

ECMAScript (JavaScript)
pm
Submitted by creamidea - 8 years ago

ip (CIDR) check

1

Regular Expression
PCRE (PHP <7.3)

/
(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-5][0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-5][0-5])
/

Description

Loading markdown...
Submitted by Marcel Bayer - 8 years ago