Regular Expressions 101

Sponsors

Library entries

-2
pcre

Unicode email sanitising

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

test

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

po box

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

Any Character Between 6-64 Long

Allowing for complex passwords
Submitted by anonymous - 8 years ago
1
pcre

Facebook Video ID from link

Matches the video id in FB links
Submitted by Eirenaios - 8 years ago
-3
pcre

cake

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

hjghj

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

12345

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 - 9 years ago