Skip to content

Instantly share code, notes, and snippets.

@jesusmacedo
Last active August 25, 2016 15:30
Show Gist options
  • Save jesusmacedo/3ed0d11b9ac9472b171caca7c8341672 to your computer and use it in GitHub Desktop.
Save jesusmacedo/3ed0d11b9ac9472b171caca7c8341672 to your computer and use it in GitHub Desktop.
small bunch of regexps
// for: 11.00 but not: 11.11.11 || 11.111
var price = /^\d+(\.\d{2}){1}\+?$/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment