Thread: Regex examples
View Single Post
Old 06-03-2013, 02:49 PM   #235
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
Quote:
Originally Posted by theducks View Post
Code:
#EXTINF:\d+,.+\s+.+
works NP++ on your sample
That works great but there is some text after the last / that I want to keep

Search
#EXTINF:274,Johnny's Not Here
/share/Public/04 Music/Love & Money - (2005) Dogs in The Traffic/02 Love And Money - Johnny's Not Here.mp3

But keep the last bit
02 Love And Money - Johnny's Not Here.mp3

I thought that there would be some regex that would delete all the text, characters & digits up to the last /

Sorry to all for going off track from sigil
JayLaFunk is offline   Reply With Quote