I have two regular expressions that validate the values entered.
One that allows any length of Alpha-Numeric value:
@\"^\\s*(?[A-Z0-9]+)
If you are trying to match only numbers that are 10 digits long, just add a trailing anchor using $, like this:
^\s*(?:[0-9]{10})\s*$
That will match any number that is exactly 10 digits long (with optional space on either side).