Regular Expressions 101

Sponsors

Library entries

0
java

Selecciona y parsea

Dado un archivo de texto selecciona subgrupos
Submitted by Alexis - 7 months ago
0
java

Interview Test Valid Odds

Interview Test Valid Odds
Submitted by anonymous - 7 months ago
0
javascript

jscpd path detection

detect jscpd paths
Submitted by anonymous - 7 months ago

HTML tags and comments split

Vote

0

Regular Expression
javascript

/
(<(?!\/)[a-zA-Z\-0-9]+?(?:[\s]*?[a-zA-Z\-0-9]+?(?:=(?:"[\s\S]*?"|'[\s\S]*?')){0,1})*?[\s]*?\/{0,1}>)|(<\/[\S\s]+?>)|(<!--[\s\S]*?-->)
/
gmi

Description

Loading markdown...
Submitted by Danilo Celestino de Castro - 5 years ago