R

TestRegex

Match everything enclosed

(?:...)

This construct is similar to (...), but won't create a capture group.

Examples

Match Sample:
heheh he heh
Regex Example:
(?:he)+
JAVASCRIPT PYTHON PCRE

Share & Embed

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

<!-- Embed Regex Token: (?:...) -->
<code class="regex-token">(?:...)</code> - Match everything enclosed
<small><a href="https://testregex.com/cheatsheet/match-everything-enclosed">See details</a></small>