Regular Expressions 101

Community Patterns

1

instagram url

Python
gets the url instagram
Submitted by samuel06santos - 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

Fate Stay/Night (PC/JP) [Py]

0

Regular Expression
Python

r"
(?<=^\*page)(?P<pg>[\d]{1,3})|(?<!;)(?P<txt_a>[  ].*)(?=\[lr\]\n)|(?<!;)(?P<txt_b>^[ ]{2}.*)|(?P<txt_c>@align anchor=\"center\" text=.+)|(?P<txt_d>^[^*@[;].+)
"
gm

Description

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