Regular Expressions 101

Sponsors

Library entries

4
pcre

Task 1

Finds a happy smile, except sad one
Submitted by Kovalev Evgeny - 9 years ago
1
pcre

Task 1

no description available
Submitted by Kovalev Evgeny - 9 years ago
1
pcre

srt

no description available
Submitted by anonymous - 9 years ago
1
pcre

example regex

no description available
Submitted by anonymous - 9 years ago
-9
pcre

test

no description available
Submitted by test - 9 years ago
1
pcre

match up to -

no description available
Submitted by anonymous - 9 years ago
1
pcre

a^n b^n

no description available
Submitted by Oleksandr Sochka - 9 years ago
1
pcre

Divisible by 3 numbers

no description available
Submitted by Oleksandr Sochka - 9 years ago
1
pcre

Phone numbers matcher

no description available
Submitted by Oleksandr Sochka - 9 years ago
-22
pcre

г.москва

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

decimal numbers

match decimal numbers with sign
Submitted by mariano_dm - 9 years ago
-2
pcre

Filter IP from beggin of log

no description available
Submitted by W - 9 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