Creating Customized Validation TextBoxes with dojox.validate
I recently came across the need to make a validation textbox that validated US phone numbers. I know there are some JavaScript regular expressions that attempt to validate a phone number - this being the closest one I found to my needs: https://snippets.dzone.com/posts/show/597