Is Alpha Numeric With Space by using Regular expression
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using System.IO;
namespace Billing
{
public class StringUtils
{
public static bool IsAlphaNumericWithSpace(string str)
{
return Regex.IsMatch(str, "^[a-zA-Z0-9 ]*$");
}
}
}
Related examples in the same category