The function will now try to salvage strings by stripping their non-numeric characters