Answer the question
In order to leave comments, you need to log in
Regex: how to remove all spaces only between words?
Spaces at the beginning and end should remain, you need to remove only between words.
For example:
" Some text "
must return " Sometext "
"two words"
return"twowords"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question