I have two regular expressions that validate the values entered.
One that allows any length of Alpha-Numeric value:
@\"^\\s*(?[A-Z0-9]+)
Do you mean you want to match up to 10 digits? Try this:
@"^\s*[0-9]{1,10}\s*$"
Match something non-numeric after the length 10 string. My regex-foo isn't that good, but I think you've got it setup there to catch a numeric string of exactly length 10, but since you don't match anything after that, a length 11 string would also match. Try matching beyond the end of the number and you'll be good.