How to get only numbers from text using C#
  • using
    private void button10_Click(object sender, EventArgs e)
                string input = textBox6.Text;
                textBox7.Text = Regex.Replace(input, "[^0-9]+", string.Empty); 
  • 2 Comments sorted by
  • Nice sharing @Akwin_lopez
  • thanks yaar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week