Sunday 16 February 2020

Regex for Guid

Most basic regex is following:
(^([0-9A-Fa-f]{8}[-][0-9A-Fa-f]{4}[-][0-9A-Fa-f]{4}[-][0-9A-Fa-f]{4}[-][0-9A-Fa-f]{12})$) 
or you could paste it here.
Hope this saves you some time.

from : https://stackoverflow.com/questions/11040707/c-sharp-regex-for-guid/11040993

No comments:

Post a Comment