I want to remove the leading zeros in the decimal numbers.

So i want the output should be 
 `.324`
not
`0.324`. 
I tried `str.replaceFirst("^0+(?!$)", "");` Didn't work and i also tried the regex! 
No results!
And yes I am working with BigDecimal.