query: Replace multi-spacing in strings with single whitespace - Python
positive_passages.docid: 117363
positive_passages.text: Is there a simple way to remove multiple spaces in a string?
negative_passages.docid: 127478
negative_passages.text: Remove multiple whitespaces
negative_passages.docid: 19770
negative_passages.text: How do I trim leading/trailing whitespace in a standard way?
negative_passages.docid: 22967
negative_passages.text: Removing whitespace from strings in Java
negative_passages.docid: 20005
negative_passages.text: How can I use sed to replace a multi-line string?
negative_passages.docid: 39787
negative_passages.text: How do I replace multiple spaces with a single space in C#?
negative_passages.docid: 46014
negative_passages.text: Strip whitespace from jsp output
negative_passages.docid: 56679
negative_passages.text: .NET Format a string with fixed spaces
negative_passages.docid: 81000
negative_passages.text: Specifying spaces between words
negative_passages.docid: 70693
negative_passages.text: Strip Leading and Trailing Spaces From Java String
negative_passages.docid: 59025
negative_passages.text: Split a string by whitespace, keeping quoted segments, allowing escaped quotes
negative_passages.docid: 53265
negative_passages.text: Remove empty spaces and period
negative_passages.docid: 28702
negative_passages.text: How to remove line breaks (no characters!) from the string?
negative_passages.docid: 45463
negative_passages.text: How do I replace all line breaks in a string with  elements?
negative_passages.docid: 47913
negative_passages.text: How to remove trailing whitespaces with sed?
negative_passages.docid: 124616
negative_passages.text: Replace multiple strings at once
negative_passages.docid: 63349
negative_passages.text: How to string-compare for a single space