Regular Expressions 101

Community Patterns

iTunes Library file names for TV Shows convert to Infuse like style

0

Regular Expression
PCRE (PHP <7.3)

/
(\d+)-(\d+)\s+(.*)
/
gim

Description

Extract from iTunes TV Show file name season and episode numbers and episode name and convert to Infuse style.

3-01 Wait for It.mp4 => How I Met Your Mother S3E01 Wait for It.mp4

Submitted by anonymous - 7 years ago