Regular Expressions 101

Sponsors

Library entries

0
pcre2

Equifax street types parser

Street types
Submitted by anonymous - 38 minutes ago
0
pcre2

stage build checker

stage build checker
Submitted by anonymous - 11 hours ago
0
pcre2

estoque_bling_regex

Regex xml stock Bling
Submitted by Dimitri - 20 hours ago
0
javascript

multicast

.
Submitted by anonymous - a day ago
0
pcre2

Rules

Rules
Submitted by anonymous - 2 days ago
0
pcre

删除Markdown中的标签连接

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

Host Regex

Get any hostname
Submitted by anonymous - 5 days ago
0
javascript

define_1

1
Submitted by anonymous - 5 days ago
0
pcre2

Phone (rus)

Russian phone number
Submitted by anonymous - 6 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