Regex to remove all (non numeric OR period) December 28, 2022 by Tarik This should do it: string s = "joe ($3,004.50)"; s = Regex.Replace(s, "[^0-9.]", "");