Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\(\s*.*?\w*\h*,(*SKIP)(*F)|(?|(")[^"\\]*(?:\\.[^"\\]*)*"|(')[^'\\]*(?:\\.[^'\\]*)*')
/
gm

Description

See https://onlinephp.io/c/a21b4 for PHP preg_replace_callback results

Submitted by anonymous - 2 years ago