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 Validation
Expression
^\{[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f0\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}\}$
Description
This validates GUID strings. It is not case sensitive and requires the beginning and ending curly brackets - '{' and '}' - to be present.
Matches
{CA373C30-293E-4DB8-A5E4-07AEA8D3F16E} | {01234567-8998-7654-3210-012345678998} | {ABCDEFFE-DCBA-ABCD-EFFE-DCBAABCDEFFE}
Non-Matches
{ABCDEFGH-IJKL-MNOP-QRST-UVWXYZ123456} | {0123-456789AB-CDEF-FEDC-BA9876543210}" | {0123456789ABCDEFFEDCBA9876543210}
Author Rating: The rating for this expression. Tupponce Software
   Displaying page 1 of 1 pages; Items 1 to 1

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