Skip to content

Instantly share code, notes, and snippets.

@gjp0609
Created January 10, 2020 03:10
Show Gist options
  • Save gjp0609/be685542f160ed9763044b96f50b747a to your computer and use it in GitHub Desktop.
Save gjp0609/be685542f160ed9763044b96f50b747a to your computer and use it in GitHub Desktop.
0-100 保留两位小数
^(100|(([1-9])[0-9]?|0{1})((\.)([0-9]){1,2})?)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment