Skip to content

Instantly share code, notes, and snippets.

@steppefox
Created September 3, 2013 05:41
Show Gist options
  • Select an option

  • Save steppefox/6420068 to your computer and use it in GitHub Desktop.

Select an option

Save steppefox/6420068 to your computer and use it in GitHub Desktop.
price exploding by 3 characters
'1234567890'.replace(/\B(?=(\d{3})+(?!\d))/g,' ');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment