Regular Expressions 101

Community Patterns

0

test

ECMAScript (JavaScript)
o
Submitted by k - a year ago

Replace function declaration with const arrow function

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(async )?(function) ([a-zA-Z0-9]+)(\([^\)]*\))(\n)?
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago
(Last modified a year ago)