Regular Expressions 101

Community Patterns

1...45678...588

Remove all whitespaces

0

Regular Expression
PCRE2 (PHP >=7.3)

Description

Remove all whitespaces. Note: Use /g to test all strings.

Submitted by davidgaroro - a year ago