R

TestRegex

Recurse nth subpattern

\g<n>

Recursively matches the given subpattern.

Examples

PCRE

Share & Embed

Use this snippet to display this token on your own site.

<!-- Embed Regex Token: \g<n> -->
<code class="regex-token">\g<n></code> - Recurse nth subpattern
<small><a href="https://testregex.com/cheatsheet/recurse-nth-subpattern">See details</a></small>