R

TestRegex

Word characters

[[:word:]]

Matches letters, numbers and underscores. Equivalent to \w

Examples

Match Sample:
any word character
Regex Example:
[[:word:]]+
PCRE

Share & Embed

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

<!-- Embed Regex Token: [[:word:]] -->
<code class="regex-token">[[:word:]]</code> - Word characters
<small><a href="https://testregex.com/cheatsheet/word-characters">See details</a></small>