Regular Expressions 101

Library entries

Dotted-decimal IPv4 address

Vote

0

Regular Expression
pcre

/
^(?:(?:\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.){3}(?:\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])$
/
mg

Description

Loading markdown...
Submitted by ezzatron - 8 years ago