Regular Expressions 101

Sponsors

Library entries

3
pcre

youtube id match

youtube id 17 matches
Submitted by Wiliam Castilhos, Ramon Barros - 8 years ago
3
pcre

Alternative Capture Country Codes

no description available
Submitted by Branden - 8 years ago
3
pcre

^.*(\/Summary\/).*(chelaxe\.ru).*$

no description available
Submitted by anonymous - 8 years ago
3
pcre

split sentence regex

no description available
Submitted by anonymous - 8 years ago
3
pcre

images url match in text

no description available
Submitted by Redfern.89 - 8 years ago
3
pcre

Div content

no description available
Submitted by mohammadsaleh - 8 years ago
3
pcre

Cisco ASA

no description available
Submitted by anonymous - 8 years ago
3
pcre

hj

hj
Submitted by hj - 7 years ago
3
pcre

currency

no description available
Submitted by anonymous - 7 years 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 - 7 years ago