Click here to Skip to main content
15,122,149 members
Articles / General Programming / Regular Expressions


10 bookmarked

Use a Regex to parse a GUID (and keep it unchanged at runtime)

Rate me:
Please Sign up or sign in to vote.
4.10/5 (7 votes)
15 Jun 2015CPOL1 min read
A short Reference on how you can validate a registry-formatted GUID with a regular expression



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Marco Bertschi
Software Developer
Switzerland Switzerland
I'm a young Software Engineer. Whilst I may accept a 'status quo' as given, it's my responsibility to improve it as soon as the opportunity arises.
Very familiar with the .Net framework since it has been the underlying foundation for most of my professional work so far. I'm that kind of guy who gets stuff done, while I may also improve the way things work whilst I'm at it. Generally can get along well with most people I meet as a professional.
Fervent volunteer firefigter, captain-ranked air force militia spec officer.
Great friend and generally nice to have me around - For a talk, a beer, or a bonfire (I might as well do all of those things combined). Oh, and I really love music - Rock & country that is, mostly.

Comments and Discussions