R

TestRegex

Complete match contents

$&

This will return a string with the complete match result from the regex.

Examples

JAVASCRIPT

Share & Embed

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

<!-- Embed Regex Token: $& -->
<code class="regex-token">$&</code> - Complete match contents
<small><a href="https://testregex.com/cheatsheet/complete-match-contents-dollar">See details</a></small>