Regular Expressions 101

Sponsors

Library entries

1
pcre

Test

test
Submitted by royskatt - 8 years ago
1
pcre

input mandatory title

no description available
Submitted by anonymous - 8 years ago
0
pcre

webongo

webongo test
Submitted by webongo - 8 years ago
1
pcre

search mailadress

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

get all href=()

no description available
Submitted by artyom lisovskij - 8 years ago
1
pcre

testmmoj

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

find numeric groups in strings

no description available
Submitted by Vovan - 8 years ago
1
pcre

Grab {\w+?} together

no description available
Submitted by anonymous - 8 years ago

Strip multi-line (star) comments from JavaScript, while leaving any CDATA sections intact.

Vote

4

Regular Expression
pcre

/
\/\*(?!(\<\!\[CDATA\[)|(\]\]>))(.*?)\*\/
/
gs

Description

Loading markdown...
Submitted by Dane MacMillan - 10 years ago