I don\'t have time to get my head around regex and I need a quick answer. Platform is Java.
I need the string
\"Some text with spaces\" <
\"Some text with spaces\"
For Java (not javascript, not php, not anyother):
txt.replaceAll("\\p{javaSpaceChar}{2,}"," ")