Regular Expressions 101

Community Patterns

1...45678...901

Community Library Entry

5

Regular Expression
PCRE (PHP <7.3)

Description

Reeplace all two or more whitespace in string with a single chararter(ej. one whitespace)

Submitted by Lanxe - 10 years ago