Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Hexadecimal
Open Workspace
JavaScript
Match
Created 2024-12-16 13:24
1
Regular Expression
/
^
[
0
-
9a
-
f
]
+
$
/
gy
Description
Only matches if the entire string is in hexadecimal format
Submitted by
Anonymous