Edit M3U (Playlist) File In Notepad ++

penman
2013-06-02
2013-06-10
  • penman

    penman - 2013-06-02

    I want to edit my playlist files and remove some text up to the last forward slash

    Example
    Remove Text: #EXTINF:221,Born Under A Bad Sign
    /share/Public/04 Music/Richard Hawley - (2005) Cole's Corner/06 Richard Hawley - Born Under A Bad Sign.mp3

    To just the artist - track text: Richard Hawley - Born Under A Bad Sign.mp3

    The playlist has more than a 100 tracks in the file and I have a load of similar playlist files with the same layout, what would be the regex for a multiple search & replace.

    Thanks in advance

     
    • penman

      penman - 2013-06-10

      Managed to get help on another forum from some friendly helpful people.

      The answer was this regex

      EXTINF:\d+,.+\s+.+/

      It might help other people on here who might be looking for something similar.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks