Regular Expressions 101

Sponsors

Library entries

0
javascript

multicast

.
Submitted by anonymous - a day ago
0
pcre

删除Markdown中的标签连接

https://regex101.com/r/kndTMF/1
Submitted by anonymous - 3 days ago
0
javascript

define_1

1
Submitted by anonymous - 5 days ago
0
javascript

price with two decimals

test
Submitted by anonymous - 6 days ago
1
javascript

ULID

Match a ULID.
Submitted by Matthew Gibbons (@accuser) - 7 days ago
0
pcre

Intervelead 2 of 5 custas

Intervelead 2 of 5 custas
Submitted by anonymous - 12 days ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 13 days 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