R

TestRegex

Global

g

Tells the engine not to stop after the first match has been found, but rather to continue until no more matches can be found.

Examples

JAVASCRIPT PYTHON PCRE

Share & Embed

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

<!-- Embed Regex Token: g -->
<code class="regex-token">g</code> - Global
<small><a href="https://testregex.com/cheatsheet/global">See details</a></small>