Regular Expressions 101

Sponsors

Library entries

34
javascript

IP Address validator

Validates IPv4 IP Address
Submitted by krzysp - 7 years ago
37
pcre

http://

no description available
Submitted by Mitus M. - 8 years ago
103
javascript

trim

trim string
Submitted by fp - 9 years ago

IP Address validator

Vote

34

Regular Expression
javascript

/
^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
/

Description

Loading markdown...
Submitted by krzysp - 7 years ago