I'm trying my mimic the comma insertion for input type='number' in FireFox since it doesn't support it yet. Naively it works in Chrome. I got my regex to work...just not in the right order, I need to reverse it.
You can see that it will format the number as 123,4 instead of 1,234. I tried 'reverse()' but I can't get that to work, Firefox states it's not a function.
If somebody could adjust my regex so it properly performs the task I want that will be great, otherwise running it in reverse might do.