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
Support
Electronic Program Guide
WebEPG
Parsing Strings (regexp?)
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="jameson_uk" data-source="post: 529705" data-attributes="member: 11220"><p>ok thanks. been reading <a href="http://wiki.team-mediaportal.com/MediaPortal_WebEPG_Grabber" target="_blank">MediaPortal_WebEPG_Grabber - MediaPortal Manual Documentation</a> as the second UK grabber is HTML but I am not 100% sure I get it....</p><p></p><p>[code]<Search match="\([0-9]{1,3}[,][0-9]{0,3}\)" field="#EPISODE" remove="true" /></p><p></p><p><Search match="\([0-9]{1,3}\)" field="#EPISODE" remove="true" /></p><p></p><p><Search match="\([0-9]{1,3}[/][0-9]{0,3}\)" field="#EPISODE" remove="true" /> [/code]</p><p>Surely across all three these will just add any number in the text to #EPISODE ?? </p><p></p><p>Is there no way to use back references so if you have </p><p>Series 1 Episode 5</p><p>in the HTML I can extract just relevant numbers?</p><p></p><p>ie = match="Series\s([0-9]{1,3})" and just use the sub-expression in backets?</p></blockquote><p></p>
[QUOTE="jameson_uk, post: 529705, member: 11220"] ok thanks. been reading [url=http://wiki.team-mediaportal.com/MediaPortal_WebEPG_Grabber]MediaPortal_WebEPG_Grabber - MediaPortal Manual Documentation[/url] as the second UK grabber is HTML but I am not 100% sure I get it.... [code]<Search match="\([0-9]{1,3}[,][0-9]{0,3}\)" field="#EPISODE" remove="true" /> <Search match="\([0-9]{1,3}\)" field="#EPISODE" remove="true" /> <Search match="\([0-9]{1,3}[/][0-9]{0,3}\)" field="#EPISODE" remove="true" /> [/code] Surely across all three these will just add any number in the text to #EPISODE ?? Is there no way to use back references so if you have Series 1 Episode 5 in the HTML I can extract just relevant numbers? ie = match="Series\s([0-9]{1,3})" and just use the sub-expression in backets? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Parsing Strings (regexp?)
Contact us
RSS
Top
Bottom