Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
# the opening delimiter (["']) # the body is (?: # either an escaped delimiter \\\1 # or | # anything except a backslash or a delimiter (?!\\|\1). # (can't put \1 in a character class, so use a negative lookahead) )* # repeated zero or more times# the closing delimiter \1
/
xg

Description

no description available

Submitted by anonymous - 11 years ago