P
Pratik Parikh
Hi Everyone,
I need a way to validate GUID using regular expression.
my code:
I need a way to validate GUID using regular expression.
my code:
Code:
string test = "{21B8D827-2F5B-4E49-B25B-DBA29EBD5A5E}"
Regex r = new Regex("(\\{*\\})");
if(r.Matches(test)){
Response.Write("It works")
}