R

TestRegex

Quote; treat as literals

\Q...\E

Any characters between \Q and \E, including metacharacters, will be treated as literals.

Examples

Match Sample:
everything \w is ^ literal
Regex Example:
\Qeverything \w is ^ literal\E
PCRE

Share & Embed

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

<!-- Embed Regex Token: \Q...\E -->
<code class="regex-token">\Q...\E</code> - Quote; treat as literals
<small><a href="https://testregex.com/cheatsheet/quote-treat-as-literals">See details</a></small>