Regular Expressions 101

Sponsors

Library entries

0
javascript

RegEX IBAN SEPA with spaces

RegEX IBAN SEPA with spaces
Submitted by Karim MB - 2 days ago
0
javascript

js获取url上的参数

/(+)=(+)/gm
Submitted by anonymous - 3 days ago
1
javascript

中文匹配

本示例启用了多行匹配 m
Submitted by yang - 7 days ago
0
javascript

cuts amazon url

with a url of aws cuts the url
Submitted by d3w3r - 11 days ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 12 days ago
0
javascript

regex text inside html tag

regex
Submitted by anonymous - 13 days ago
0
pcre

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

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

NPM Module ID

Match import
Submitted by anonymous - 14 days ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 16 days ago
0
javascript

Parse Rx DataMatrix

Parse Rx DataMatrix
Submitted by hoangitk - 16 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 - 10 years ago