Regex to check for numerics only

Saratvaddilli
Posted by Saratvaddilli under ASP.NET category on | Points: 40 | Views : 1528
using System.Text.RegularExpressions;


static bool isNumeric(string strString)
{
return Regex.IsMatch(strString, @"^\d+$");
}

Comments or Responses

Login to post response