>>164
string chars = "-.0123456789";
string result = new string(str.Where(chars.Contains).ToArray());