Remove all spaces in a string using Regex
  • Hi buddies today i found how to remove all spaces in a string using Regular Expression 
    i hope it will help your codes

     private void button5_Click(object sender, EventArgs e)


                string text= textBox2.Text;

                textBox3.Text =Regex.Replace(text, @"\s", "");     


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