Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# isalphanumeric


        string str = "ABC123";
 
        if (Regex.IsMatch(str, "^[a-zA-Z0-9]*$"))
        {
            Console.WriteLine("Alphanumeric String");
        }
        else
        {
            Console.WriteLine("Non-Alphanumeric String");
        }
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #isalphanumeric
ADD COMMENT
Topic
Name
6+7 =