R

TestRegex

Hexadecimal digits

[[:xdigit:]]

Matches hexadecimal digits. Equivalent to [0-9a-fA-F].

Examples

Match Sample:
hex123!
Regex Example:
[[:xdigit:]]+
PCRE

Share & Embed

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

<!-- Embed Regex Token: [[:xdigit:]] -->
<code class="regex-token">[[:xdigit:]]</code> - Hexadecimal digits
<small><a href="https://testregex.com/cheatsheet/hexadecimal-digits">See details</a></small>