Looking for a JavaScript regex that can remove any leading 0 in a string if the string is an integer.
0 => ''
0000 => ''
001 => 1
0.11 => 0.11
0000.11 => 0.11
11000 => 11000
I've been attempting to solve this using regex, but haven't succeeded yet.