Regular Expressions 101

  • PCRE2 (PHP)
  • Match
1

Regular Expression

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

Description

Extracting strings defined in languages like C/C++ etc.

Submitted by Insoft