teach me basic regular expressions? (1 Viewer)

anony

Portal Pro
January 3, 2009
83
1
Say you have a file:
SeriesName.S01E01.HDTV.XviD-XYZ.avi

How do you make a regular expression that matches? Some of my files are not being imported automatically and I wonder if regular expressions are the cause.
 

Marvman

Retired Team Member
  • Premium Supporter
  • November 14, 2007
    1,163
    735
    Bavaria
    Home Country
    Germany Germany
    Hi Anony,

    a regex for the string SeriesName.S01E01.HDTV.XviD-XYZ.avi
    could be such a regex \w*\.\w*\d*\.\w*\.\w*\-\w*\.\w*\d*
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 Design questions. DE
    No No
    No No
    Is there an xml display utility that will allow graphically checking of dialog and osd text and graphics element placement? or Is...
    Replies
    1
    Views
    461
    If your XMLTV guide isn’t populating, setting up an EPG Collector can solve the issue by giving you control over your guide data. This tool lets you customize the EPG to match your needs, ensuring accurate and complete listings. The main benefit of using an EPG Collector is flexibility. You can pull data from reliable sources, adjust...
    If your XMLTV guide isn’t populating, setting up an EPG Collector can solve the issue by giving you control over your guide data...
    Hi everyone, I hope you are all well My Mum's Mediaportal lost it's marbles thanks to Microsoft update, (even though I had update...
    Replies
    3
    Views
    449
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video playback in MP2 is buggy when playing 4k material. Therefore: PLEASE add an option for an external video player! I'd LOVE to have VLC back as videoplayer, like in MP1! This works perfectly. You will make a...
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
    Replies
    0
    Views
    471
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file. A little sad about the end time, but nothing to do about it.
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D...
    I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs. In...
    Replies
    9
    Views
    2K
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    I have some weird behavior trying to operate the MP GUI in a new installation of MP 1.36 under Windows 11 Pro. Some of the remote...
    Replies
    33
    Views
    3K
    Top Bottom