EDITABLE CODE:
LiveDemo:jQuery - Phone Number Validation
Note: The function phone_validate() checks input and returns true if it matches the regular expression, or else false.