Hi There I have the following code which checks if a input data is Numeric.
private bool IsNumeric(string subject)
{
return (System.Text.RegularExpressions.Regex.IsMatch(subj ect, "^[-0-9]*.[.0-9].[0-9]*$"));
}
It works, but I want it to include blank spaces EG if a phone number is input, I want to leave a space between an area code and the number.
Can someone please help me redefine the expression to include blank spaces I think it uses \t but I'm not sure how to include it in the expression.
Thanks in advance,
Lóan