Last active
August 25, 2016 15:30
-
-
Save jesusmacedo/3ed0d11b9ac9472b171caca7c8341672 to your computer and use it in GitHub Desktop.
small bunch of regexps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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