Regular Expressions 101

Community Patterns

1

just for test

PCRE2 (PHP >=7.3)
don't mind
Submitted by anonymous - 8 hours ago
1

datime

PCRE2 (PHP >=7.3)
datetime
Submitted by anonymous - 4 days ago
1

Match paths

PCRE2 (PHP >=7.3)
Match paths
Submitted by os_niko - 11 days ago

async calls in foreach

0

Regular Expression
PCRE2 (PHP >=7.3)

/
foreach\((?<loop>[a-zA-Z0-9-. _\(\)]+)\n{(?<code1>[a-zA-Z0-9-. _\;\n(\){}]+)await(?<code2>[a-zA-Z0-9-. _\;\n(\){}]+)}
/
gm

Description

Loading markdown...
Submitted by mmateeva - 7 months ago