Skip to content

Instantly share code, notes, and snippets.

@ituki
Created December 13, 2013 06:21
Show Gist options
  • Save ituki/7940480 to your computer and use it in GitHub Desktop.
Save ituki/7940480 to your computer and use it in GitHub Desktop.
カンマ区切りの金額の正規表現(増税に伴う修正とかに使えそう) ref: http://qiita.com/ituki_b/items/a6745ec0762cd2056fe9
税込(0|([1-9][0-9]{0,2}(,[0-9]{3})*?)|0|([1-9][0-9]{0,2}(,[0-9]{3})*?))円|(0|([1-9][0-9]{0,2}(,[0-9]{3})*?)|0|([1-9][0-9]{0,2}(,[0-9]{3})*?))円(税込)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment