Skip to content

Instantly share code, notes, and snippets.

@samsargent
Created February 12, 2014 00:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samsargent/8947089 to your computer and use it in GitHub Desktop.
Save samsargent/8947089 to your computer and use it in GitHub Desktop.
<input type="text" class="text" name="mobilePhone" id="mobilePhone" value="" parsley-regex-message="Please enter a valid Australian mobile phone number." parsley-regexp="^\(?(?:\+?61|0)4\)?(?:[ -]?[0-9]){2}\)?(?:[ -]?[0-9]){5}[0-9]$"/>
@jackphilippi
Copy link

This saved me some work.. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment