RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find GUID Validation
Expression
^[{|\(]?[0-9a-fA-F]{8}[-]([0-9a-fA-F]{4}[-]){3}[0-9a-fA-F]{12}[\)|}]?|[{|\(]?[0-9a-fA-F]{8}([0-9a-fA-F]{4}){3}[0-9a-fA-F]{12}[\)|}]?$
Description
Matches 32 hex string, with optional hypens and optional closing braces
Matches
{0C885DD3-7DD9-484B-9B20-3E6552BCA144} | 0C885DD3-7DD9-484B-9B20-3E6552BCA144 | 0C885DD37DD9484B9B203E6552BCA144
Non-Matches
0C885DD3-7DD9-484B-9B20-1E6552BCA | 0C885DD3-7DD9484B9B203E6552BCA144 | 0C885DD37DD9484B9B203E6552BCA1TT
Author Rating: Not yet rated. Chris Miller
Source Based on Nicholas Berardi's Pattern Title
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials