Regular Expressions 101

Community Patterns

1

js

ECMAScript (JavaScript)
no description available
Submitted by sd - 10 years ago
-1

Find image style

ECMAScript (JavaScript)
style img
Submitted by anonymous - 10 years ago
106

trim

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

Test

1

Regular Expression
PCRE (PHP <7.3)

/
^\s*((P(OST)?.?\s*(O(FF(ICE)?)?)?.?\s+(B(IN|OX))?)|B(IN|OX))
/
i

Description

Loading markdown...
Submitted by anonymous - 9 years ago