Regular Expressions 101

Sponsors

Library entries

1
javascript

提取步骤1

提取步骤1
Submitted by liangchao - 22 days ago
2
javascript

Simple URL

Validate an URL input.
Submitted by @nuragic - 4 months ago
2
javascript

Error in Refex

no description available
Submitted by anonymous - 9 years ago
2
javascript

sample

no description available
Submitted by anonymous - 8 years ago
2
javascript

US Postal Code

refactor
Submitted by jay johnson - 8 years 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