Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

@
(?<=/){(?<var>[a-z0-9_]+):?(?<reg>(?:(?:\[{0,1}[\w\d\-\\\./]+\]{0,1}(?:\+|\*|{(?:[0-9]+|[0-9]+,[0-9]*)})?)+|(?:\({0,1}[\w\d\-\\\./\[\]]+\){0,1}(?:\+|\*|{(?:[0-9]+|[0-9]+,[0-9]*)})?)+)+|)}(?=\s*(?:/|$))
@
ixg

Description

no description available

Submitted by Raphael Quintao - 4 years ago (Last modified 4 years ago)