how to check if the value is alphabet only in c#

102

how to check if the value is alphabet only in c# -

Regex.IsMatch(input, @"^[a-zA-Z]+$");

Comments

Submit
0 Comments