Regular Expressions 101

Library entries

IPv6 detection

Vote

2

Regular Expression
python

"
\[(?:[a-zA-Z0-9]{0,4}:?){1,8}\]|\[(?:[a-zA-Z0-9]{0,4}:?){1,4}(?:[0-9]{1,3}\.){3}[0-9]{1,3}\]
"
g

Description

Loading markdown...
Submitted by Ajabep - 5 years ago