if (textBox1.Text.EndsWith(',')) textBox1.Text = textBox1.Text.SubString(0, textBox1.Text.Length -1);
\d+\,?\d+
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)