Improve regular expression to detect episodes