Regular Expressions 101

Community Patterns

1

Extract tag name and its content

Python
Lrc file
Submitted by Cricar - 5 months ago
1

Match each tag

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

Match emoji in emoji-zwj-sequences.txt

1

Regular Expression
Python

r"
^(.*?)[^\S\n]*;[^\S\n](.*?)[^\S\n]*;[^\S\n](.*?)(?:[^\S\n]+)#[^\S\n]*(E[\w.]*)[^\S\n]*(?:\[\w\])[^\S\n]*\((.*)\)$
"
mg

Description

Loading markdown...
Submitted by anonymous - 7 months ago