Response to: to validate for numbers and alphabets in c# asp.net2.0 in codebehind file
Revision 1
Hi,
Try this:
bool includesNotOnlyNumeric = Regex.IsMatch(sample1, @"\D");
if (includesNotOnlyNumeric)
{
}
else
{
}
Posted 28-Dec-12 22:18pm
by
Thomas Daniels.