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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Guid
Expression
^(?<BRACE>\{)?[a-fA-F\d]{8}-(?:[a-fA-F\d]{4}-){3}[a-fA-F\d]{12}(?<-BRACE>\})?(?(BRACE)^.)$
Description
Matches a string representation of a Guid, regardless of case, and does the correct brace matching
Matches
99283723-0938-0a9f-8b7c-029cba98d789 | {99283723-0938-0a9f-8b7c-029cba98d789} | {99283723-0938-0a9f-8b7c-029CBA98D789}
Non-Matches
{99283723-0938-0a9f-8b7c-029cba98d789 | 99283723-0938-0a9f-8b7c-029cba98d789} | 99283723-0938-0s9f-8b7c-029cba98d789
Author Rating: Not yet rated. Ryan Schreiber
   Displaying page 1 of 1 pages; Items 1 to 1

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