Hi,
while parsing the data from web, I am getting the string as "5�952" and checking wherther it is numeric value or not using str.matches("-?\\d+(\\.\\d+)?") . If it returns true then I am converting this to BigDecimal. While converting i am getting NumberFormalException.
Is there any possible way to remove the unparsed("�") characters from string? Because in my case I should display the result, there is no way to say it is not numeric value...
Can anyone please suggest..
Thanks.