Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

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

Description

Allows the single quote to be escaped, handles the \' situation

Submitted by Robin - 11 years ago