Regular Expressions 101

Sponsors

Library entries

1
java

phone number middle number parsing

middle number parsing regex
Submitted by anonymous - 4 days ago
0
java

Verify email

Regex for email
Submitted by anonymous - 6 days ago
0
pcre

https://regex101.com/r/VrZHR8/1

https://regex101.com/r/VrZHR8/1
Submitted by anonymous - 13 days ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 15 days ago
0
pcre

filter

filter string
Submitted by anonymous - 16 days ago
0
pcre

1

Prueba 1
Submitted by anonymous - 18 days ago
0
pcre

mvc

com c#
Submitted by anonymous - a month ago
0
pcre

test

teste
Submitted by anonymous - a month ago
1
golang

1

11
Submitted by anonymous - a month ago
0
java

for-orth

For orth
Submitted by gastipatis - a month 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