Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
(\d+)(\d\d)|(\d+).(\d+)
/
gm

Description

Simplest form to match all the episode numbering versions I could remember that don't use incremental numberign without seasons.

Submitted by SEKCobra - 11 years ago