R

TestRegex

Any word character

\w

Matches any letter, number or underscore.

Examples

Match Sample:
any word character
Regex Example:
\w+
JAVASCRIPT PYTHON PCRE

Share & Embed

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

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