We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I find I frequently need a regex for dollar amounts, for example: \d*(\.\d{1,4})?
\d*(\.\d{1,4})?
Would this be something that would make sense to add?
The text was updated successfully, but these errors were encountered:
If it's a dollar amount, wouldn't it make more sense to have 2 decimal places, instead of 1 to 4?
Sorry, something went wrong.
Some currencies may have more than 2 decimal places, thus my example, but in most cases, sure, maybe 2 decimal places is more common.
Good point. By "dollar" I thought you meant USD. :)
No branches or pull requests
I find I frequently need a regex for dollar amounts, for example:
\d*(\.\d{1,4})?
Would this be something that would make sense to add?
The text was updated successfully, but these errors were encountered: