How do I replace multiple spaces with a single space in C#? - by Pokus How can I replace multiple spaces in a string with only one space in C#? Example "1 2 3 4 5" would be : "1 2 3 4 5"? Read the article