Replace Multiple spaces with one single space using Regex

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

Comments or Responses

Login to post response