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

34

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

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

Comments

Submit
0 Comments