c# check string is alphabet code example Example: how to check that string has only alphabet in c# Regex.IsMatch(input, @"^[a-zA-Z]+$");