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
UUID (compact regular expression)
Open Workspace
JavaScript
Match
Created 2022-08-03 09:47
0
Regular Expression
/
[
0
-
9A
-
F
]
{8}
(?:
-
[
0
-
9A
-
F
]
{4}
){3}
-
[
0
-
9A
-
F
]
{12}
/
ig
Description
Matches a UUID using a compact regular expression.
Submitted by
Matthew Gibbons (@accuser)