R

TestRegex

Any whitespace character

\s

Matches any space, tab or newline character.

Examples

Match Sample:
any whitespace character
Regex Example:
\s
JAVASCRIPT PYTHON PCRE

Share & Embed

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

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