Using HTML5 I have an input field that should validate against a dollar amount entered. Currently I have the following markup:
<input type="number" pattern="(\d{3})([\.])(\d{2})">
This works great for an amount that is greater than 100.00 and less than 1,000.00. I am trying to write the pattern (regex) to accept different dollar amounts. Maybe upwards of 100,000.00. Is this possible?