Fixed the regex. It should now strip any non numeric characters out and then only accept numbers that are 10 digits.
had to remove a comment.