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="its_me_gb" data-source="post: 214275" data-attributes="member: 57350"><p>Ok Quanfer,</p><p>these two expressions should parse atleast the two examples that you have posted.</p><p></p><p>this is for cowboy bebop:</p><p>[CODE](?<series>[_\w]*)_-_(?<episode>[0-9]*)_-_(?<title>[\w_]*)_-_([\w\[\]()]*)\.(?<ext>[^\\]{0,3})[/CODE]</p><p></p><p>Make sure you add it as a rexexp rule, and also under String Replacements, make sure there is a rule that replaces _ with <space>, but make sure that it does <strong>NOT</strong> run before mathcing.</p><p></p><p>For Band of Brothers:</p><p>[CODE](?<series>[\w.]*)\.Ep(?<episode>[0-9]*)(?:[-.\w])*\.(?<ext>[^\\]{0,3})[/CODE]</p><p></p><p>And for this one, make sure there is a String Replacements Rule that converts . into <space> and it does not run before matching also.</p><p></p><p>Hope this helps, and if it does, like Inker said post them in the Expression Exchange Thread!!!</p><p></p><p>gb</p></blockquote><p></p>
[QUOTE="its_me_gb, post: 214275, member: 57350"] Ok Quanfer, these two expressions should parse atleast the two examples that you have posted. this is for cowboy bebop: [CODE](?<series>[_\w]*)_-_(?<episode>[0-9]*)_-_(?<title>[\w_]*)_-_([\w\[\]()]*)\.(?<ext>[^\\]{0,3})[/CODE] Make sure you add it as a rexexp rule, and also under String Replacements, make sure there is a rule that replaces _ with <space>, but make sure that it does [B]NOT[/B] run before mathcing. For Band of Brothers: [CODE](?<series>[\w.]*)\.Ep(?<episode>[0-9]*)(?:[-.\w])*\.(?<ext>[^\\]{0,3})[/CODE] And for this one, make sure there is a String Replacements Rule that converts . into <space> and it does not run before matching also. Hope this helps, and if it does, like Inker said post them in the Expression Exchange Thread!!! gb [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom