Regular Expressions 101

Library entries

simple IPv6 check

Vote

1

Regular Expression
javascript

/
^([0-9A-Fa-f]{0,4}:){2,7}([0-9A-Fa-f]{1,4}$|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|$)){4})$
/
gm

Description

Loading markdown...
Submitted by anonymous - 6 years ago