Regular Expressions 101

Library entries

IP Address validator

Vote

0

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by krzysp, fty4 - 4 years ago