Replace Multiple spaces with one single space using Regex

Bugwee
Posted by Bugwee under VB.NET category on | Points: 40 | Views : 4756
txtOutput.Text = Regex.Replace(txtInput.Text, "\s+", " ")

Comments or Responses

Login to post response