R

TestRegex

Makes any character literal

\

This may be used to obtain the literal value of any metacharacter.

Examples

Match Sample:
match \w literally
Regex Example:
\\w
JAVASCRIPT PYTHON PCRE

Share & Embed

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

<!-- Embed Regex Token: \ -->
<code class="regex-token">\</code> - Makes any character literal
<small><a href="https://testregex.com/cheatsheet/makes-any-character-literal">See details</a></small>