Is Alpha Numeric With Space And Dot 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 IsAlphaNumericWithSpaceAndDot(string str)
{
return Regex.IsMatch(str, "^[a-zA-Z0-9 .]*$");
}
}
}
Related examples in the same category