I am trying to add
$123,123.12 comma format and restrict the decimal to two places can anyone please help with
regex. I have tried like this. I have a input box now when I enter it comes as
1231244 but I need like
$123,123.12 how to make a function to achieve this can you help with the code.
<input type="text" value="$0.00" step="0.01"/>