A worked example, rendered from real sample data. Sign in to run the tool on your own input.
group── Groups ──
(...) capturing group
(?:...) non-capturing group
(?<name>...) named group
\1 backref to group 1

Searchable reference of regex syntax with live examples. Part of the DevTools Surf developer suite. Browse more tools in the Text / String collection.