Regular Expressions 101

Community Patterns

106

trim

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

url

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 9 years ago

find the function definition based on indentation

1

Regular Expression
ECMAScript (JavaScript)

/
( +)middleware: to => {\n.*?\n\1},
/
gms

Description

Loading markdown...
Submitted by anonymous - 5 months ago