Looking to pick up all those 0s which doesn't add any value to a number:
1.000should give.0000.000should give.0000.0080should give me0- however
10should remain10, only after the decimals I want
I tried couple of regex but they are not working correctly, please if anyone can support, would be really appreciated, thanks in advance.
Tried
(\.*?)(0+)$
but this is picking up 0s which are actually valuable like in 10 or 100 etc.