Regular Expressions 101

Community Patterns

1

Project

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 8 years ago
-1

index

PCRE (PHP <7.3)
include index.aspx
Submitted by anonymous - 8 years ago

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

4

Regular Expression
PCRE (PHP <7.3)

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

Description

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