Regular Expressions 101

Community Patterns

Trim Regex

1

Regular Expression
PCRE (PHP <7.3)

/
^\s*(.*[^ ])\s*$
/

Description

no description available

Submitted by anonymous - 8 years ago