Here's what I currently have, but it only works if the decimal is preceded and followed by a decimal.
^\$?(\d*?(?<=\d)\.?(?=\d)\d*?)$
So the string: '$50.00'
matches, but '$.50'
, and '$50.'
don't match (I want them to)
I want to retrieve the matched decimal like '50.00' in a single group if possible so that I can grab the normalized value if there is a match.