Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago
4

CloudFlare

PCRE2 (PHP >=7.3)
Cloud Flare
Submitted by anonymous - 3 years ago
4

Email

PCRE2 (PHP >=7.3)
email format control
Submitted by ahmetbarut - 3 years ago

trim

106

Regular Expression
ECMAScript (JavaScript)

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

Description

Loading markdown...
Submitted by fp - 10 years ago