Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^ (?: "((?:[^"]|"")*)" # Quoted field, capture inner content | ([^",]*) # Unquoted field, capture content (no comma or quote) ) $
/
x

Description

Extract field value of DoubleQuote Enclosed CSV Field with Escaped DoubleQuote The matching field value still contains escaped double quotes to be later processed :-)

Submitted by Alper YAZGAN - a month ago