Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-09-23 12:02
Flavor·PCRE (Legacy)

/
(^\{?[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}\}?)$
/
i
Open regex in editor

Description

This pattern search case insensitive for a valid GUID: a combination of A-Z and 9-0 in four groups delimited by a dash: [8]-[4]-[4]-[4]-[12].

Submitted by Fallon Turner