Regular Expressions 101

Library entries

Series [Episode] - Tit;e - Author

Vote

0

Regular Expression
pcre

/
\[?(?P<series>[^0-9]+)(?P<episode>\[?\d+\]?)\s*\]?(\s*[\-]\s*)(?P<title>.*)(\s*[\-]\s*)(?P<author>.*)
/
gmi

Description

Loading markdown...
Submitted by anonymous - 5 years ago