regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
USD regex
Published on Tue Mar 01 2022
Regex to match USD currency in a text
Regex
Test String
$1,000
Additional matching regexes for
USD regex
USD regex
Regex to match USD currency in a text
Currency amount without currency symbol
Matching numbers related to financial amounts. Does not consider the type of currency. Will not match: --------------- 34 1.005 33,00 Will match: ----------- 00.40 1.40$ -6,663,330.00
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Timecode
Regex to match standard timecode format.
Currency amount without currency symbol
Matches numbers that are likely to by financial amount. Does not consider the type of currency.
Minecraft Entity Target Splitter
Regex to match part of minecraft command entity targets
Timecode
Regex to match standard timecode format. (Updated with fewer groups).
Simple Best URL Regex Match
# Best URL Regex to match URL, This is simple and can match 64K of url regex under 20ms ## Regex Matches All Below and more: - https://example.domain - http://example.domain - //example.domain - //example.com - https://example.com:34 - //example.com:23 - example.com
Currency amount validation with sign (cents optional)
Allows Number: Currency amount US (cents optional) Can use US-style 123,456.78 notation Optional thousands separators; optional two-digit fraction; commas; dollar sign
Full Best URL Regex Match
# Best Full URL Regex to match URL, This is simple and can match 64K of url regex under 77ms ## Regex Matches All Below and more: - https://example.domain - http://example.domain - //example.domain - //example.com - https://example.com:34 - //example.com:23 - example.com