Regular Expressions 101

Community Patterns

Remove multiple white spaces between words

2

Regular Expression
PCRE (PHP <7.3)

Description

Remove multiple white spaces between words and replace it with the char of your choosing.

Submitted by binary_fm - 8 years ago