Regular Expressions 101

Community Patterns

1

Kafka loki parser

Golang
Kafka loki parser
Submitted by anonymous - a month ago
1

Extract tag name and its content

Python
Lrc file
Submitted by Cricar - 2 months ago
1

Match each tag

Python
Match each tag in a lrc file
Submitted by Cricar - 2 months ago

匹配引号内容/match quotation mark content

-1

Regular Expression
ECMAScript (JavaScript)

/
(?<=(?:^|[^\\])(?:\\\\)*)(([`'"])(.*?(?:[^\\](\\\\)*|$)(\2|$)))
/
g

Description

Loading markdown...
Submitted by 诶!你的尾巴掉了 - 4 months ago
(Last modified 4 months ago)