Regular Expressions 101

Sponsors

Library entries

2
pcre

comment

no description available
Submitted by anonymous - 7 years ago
2
pcre

Find url('./xxx)

no description available
Submitted by anonymous - 7 years ago
2
pcre

string contains

no description available
Submitted by mgaus - 7 years ago
2
pcre

Email Cleanup

Working on email link cleanup.
Submitted by anonymous - 7 years ago
2
pcre

extract hostname

extracts hostname from url
Submitted by Kristine Poghosyan - 7 years ago
2
pcre

extension libre office

no description available
Submitted by anonymous - 7 years ago
2
pcre

Observatorio do Trabalho

no description available
Submitted by anonymous - 7 years ago
2
pcre

UK phone number

UK phone number
Submitted by Andrea SonnY - 7 years ago
2
pcre

mystem

no description available
Submitted by anonymous - 7 years ago
2
pcre

thy_reservation_flights

no description available
Submitted by anonymous - 7 years ago
2
pcre

thy_reservations_names

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