Regular Expressions 101

Community Patterns

5

ipv6

PCRE (PHP <7.3)
Match an ipv6 address
Submitted by Frusty - 8 years ago

How to document a regex? Example 1

1

Regular Expression
PCRE (PHP <7.3)

/
(\/+[^\/\[\]]+(?:\[[^\]']*(?:'[^']*')\])?)+
/

Description

Loading markdown...
Submitted by Thomas - 9 years ago