KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to replace all more than 2 white spaces in a string but not new lines, I have this regex: \s{2,} but it is also matching new lines. How can I match 2 or more white spaces only and not new lines? I'm using c#
Tags (comma-separated)
Save Edits
Cancel