Regular Expressions 101

Community Patterns

1

erferf

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

rfrf

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years ago
-2

Date time

PCRE (PHP <7.3)
no description available
Submitted by Mr.Neutro - 10 years ago
1

saja

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 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