Created
February 20, 2013 08:49
-
-
Save stavrossk/4994051 to your computer and use it in GitHub Desktop.
Regural expressions for extracting key metadata from tv episode media files.
This metada will be used by entertainment media application for online media identification.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@".*[s,S](?<SeasonNumber>\d{1,2}).?[e,E](?<EpisodeNumber>\d{1,2}).*" | |
@"(.*\\)*(?<SeriesName>.*)((s|S)(?<SeasonNumber>[0-9]{1,2})(e|E)(?<EpisodeNumber>[0-9]{1,2}))(.(?<Name>.*)|.*)\.(?<FileType>...?)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment