Regular Expressions 101

Library entries

Match v4 IP address

Vote

-2

Regular Expression
pcre

/
\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|$)){4}\b
/
mg

Description

Loading markdown...
Submitted by Budiony Damyanov - 8 years ago