Regular Expressions 101

Community Patterns

1...45678...745

Delete spaces between words only

0

Regular Expression
PCRE (PHP <7.3)

/
(\b[ ]{1,}\b)
/
gmi

Description

Delete spaces between words only

Submitted by anonymous - 2 years ago (Last modified 2 years ago)