home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Hudzy" data-source="post: 820474" data-attributes="member: 96166"><p>Can anyone help me update my regex?</p><p></p><p>(?<series>[\w .,'!&$]*)\\[\w\s0-9]*\\(?<season>[0-9]{1,2})(?<episode>[0-9]{2})(?(?=[-])-(?<episode2>[0-9]{2})).{1}(?<title>[\w .,'!&$]*)\.</p><p></p><p>Currently it reads my folder structure, which is as follows:</p><p></p><p>Series\Season 1\101 Episode</p><p>Series\Season 1\102-03 Episode</p><p></p><p>That's just fine, but now I'm having trouble with episode names with hyphens. They don't parse properly so I set up a string replacement to get rid of them, forgetting it would mess with my double episodes.</p><p></p><p>I need to ignore hyphens in the title using the expression.</p></blockquote><p></p>
[QUOTE="Hudzy, post: 820474, member: 96166"] Can anyone help me update my regex? (?<series>[\w .,'!&$]*)\\[\w\s0-9]*\\(?<season>[0-9]{1,2})(?<episode>[0-9]{2})(?(?=[-])-(?<episode2>[0-9]{2})).{1}(?<title>[\w .,'!&$]*)\. Currently it reads my folder structure, which is as follows: Series\Season 1\101 Episode Series\Season 1\102-03 Episode That's just fine, but now I'm having trouble with episode names with hyphens. They don't parse properly so I set up a string replacement to get rid of them, forgetting it would mess with my double episodes. I need to ignore hyphens in the title using the expression. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom