Regular Expressions 101

Library entries

IP Address Validation Express

Vote

1

Regular Expression
pcre

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

Description

Loading markdown...
Submitted by anonymous - a month ago