StatCounter

View My Stats

Friday, April 18, 2008

Checking Numeric (Or) Not using Regular Expression

Checking Numeric (Or) Not using Regular Expression


const string ALL_NUMERIC_PATTERN = "[a-z|A-Z]";
static readonly Regex All_Numeric_Regex =new Regex(ALL_NUMERIC_PATTERN);

All_Numeric_Regex .IsMatch(string Value);