Regular Expressions 101

Community Patterns

0

select 2 lines

Python
no description available
Submitted by anonymous - 3 years ago
0

select per lines

Python
lawbyte
Submitted by anonymous - 3 years ago
0

indent

ECMAScript (JavaScript)
(.+?)((\n\s.*)+)
Submitted by anonymous - 3 years ago
0

Fecha

Python
no description available
Submitted by anonymous - 3 years ago

Function Declaration / Expression

4

Regular Expression
ECMAScript (JavaScript)

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

Description

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