Regular Expressions 101

Capture group finder

Open Workspace
  • PCRE2 (PHP)
  • Match
1

Regular Expression

/
(?<!\\)(\([^?].*?\))
/
gm

Description

A regex to inspect other regex and match all capture groups

Submitted by SP4CEBAR