Regular Expressions 101

Community Patterns

Match Valid IPv4 and IPv6

0

Regular Expression
PCRE (PHP <7.3)

/
([\w\:]+\:\w+)|(([\d\.]+))
/
gm

Description

no description available

Submitted by Blessy - 5 years ago