R

TestRegex

Control characters

[[:cntrl:]]

Matches characters that are often used to control text presentation, including newlines, null characters, tabs and the escape character. Equivalent to [\x00-\x1F\x7F].

Examples

PCRE

Share & Embed

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

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