Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
how to check that string has only alphabet in c#
Krista L
Programming language:
C#
2021-03-05 13:40:33
14
Q:
how to check that string has only alphabet in c#
Michael Seifert
Code:
C#
2021-03-04 23:19:34
Regex.IsMatch(input, @"^[a-zA-Z]+$");
0
personal learner
Code:
C#
2021-01-14 01:48:15
Regex.IsMatch(input, @"^[a-zA-Z0-9]+$");
0
Tags
string
check
how
Related
c# check if string is only letters and numbers
c# alphabet array
c# replace all non numeric characters
if string contains number c#
c# only letters
c# filter non alphanumeric characters
c# how do you check if a string contains only digits
c# capitalize first letter of each word in a string
how to sort string array alphabetically in c#
c# how to check string is number
c# check if string contains value
how to check if a string contains a capital letter c#
remove all non alphabetic characters from string c#
c# check if string is all numbers
New to Communities?
Join the community