Regular Expressions 101

Sponsors

Library entries

0
pcre

Time format

38 Seconds
Submitted by anonymous - 8 days ago
0
pcre2

Fetch Username and IP

Splunk
Submitted by anonymous - 8 days ago
0
pcre2

HTML Tag Selector

T
Submitted by Rahul - 8 days ago

Function Declaration / Expression

Vote

3

Regular Expression
javascript

/
function\s*([A-z0-9]+)?\s*\((?:[^)(]+|\((?:[^)(]+|\([^)(]*\))*\))*\)\s*\{(?:[^}{]+|\{(?:[^}{]+|\{[^}{]*\})*\})*\}
/
g

Description

Loading markdown...
Submitted by Ja Superior - 6 years ago