Regular Expressions 101

Community Patterns

0

Interesante

ECMAScript (JavaScript)
Obtener Texto
Submitted by Asura - 2 years ago
0

GodZeus

ECMAScript (JavaScript)
Tha endgame
Submitted by Karel fouco - 2 years ago

Div shortcode [div]..[/div]

1

Regular Expression
ECMAScript (JavaScript)

/
\[div(?:\sid=["|'](.*?)["|'])?(?:\sclass=["|'](.*?)["|'])?\](.*?)\[\/div\]
/
gms

Description

Loading markdown...
Submitted by Dux Linux - 2 years ago