Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
[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) - 2 years ago