Regular Expressions 101

Community Patterns

Fields separated by two or more spaces

1

Regular Expression
PCRE (PHP <7.3)

/
((?:[^ ]|[^ ] [^ ])+)(?: +|$)
/
gm

Description

no description available

Submitted by John Oxley - 8 years ago