check if string variable contains only letters c#

54

check if string variable contains only letters c# -

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

Comments

Submit
0 Comments