Regular Expressions 101

Sponsors

Library entries

0
javascript

email regex

check mail regex
Submitted by anonymous - 12 hours ago
0
javascript

mr regexp

Рег
Submitted by anonymous - 16 hours ago
1
pcre2

Links

Beginner way to highlight links
Submitted by anonymous - 17 hours ago
0
javascript

变成一行

把代码变成一行一个属性
Submitted by naoyuyan - 3 days ago
0
pcre2

TTB fund acc 1

my work space
Submitted by anonymous - 3 days ago
1
pcre2

Custom Commit ReGex

Custom Commit ReGex Test
Submitted by Kewal Rathod - 3 days ago
-1
pcre2

213

12312
Submitted by anonymous - 4 days ago
-1
pcre2

1

1
Submitted by anonymous - 4 days ago
0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 5 days ago
0
pcre2

Drealth

just a normal text to the drealth emojis
Submitted by NobreHD - 6 days ago

TV Series filename parsing

Vote

3

Regular Expression
pcre

/
^((?<ShowNameA>.*[^ (_.]) [ (_.]+ (?!720p|1080p|264|265) ( # Shows with preceding Year #(?<ShowYearA>\d{4}) ([ (_.]+ ( (?<ShowYearA>(?:19|20)\d{2}) ([ (_.]+ ( (?<SeasonA>\d{1,2})x(?<EpisodeA>\d{1,2}) |(?<SeasonB>[0-3]?[0-9])(?<EpisodeB>\d{2}) |S(?<SeasonC>\d{1,2})E(?<EpisodeC>\d{1,2}) ) )? | # Shows without preceding Year (?<!\d{4})( S(?<SeasonD>\d{1,2})E(?<EpisodeD>\d{1,2}) |(?<SeasonF>[0-3]?[0-9])(?<EpisodeF>\d{2}) |(?<SeasonE>\d{1,2})x(?<EpisodeE>\d{1,2})) ) |(?<ShowNameB>.+))
/
mgxi

Description

Loading markdown...
Submitted by anonymous - 6 years ago