Page 1 of 1

How to achieve this replacement?

Posted: Sun Apr 05, 2015 4:09 pm
by terrypin
I'd appreciate help on replacing lines like these

..\Docs\My Music\Brahms\100 Popular Classics - Volume 1\Brahms - Waltz in A Flat Major.mp3
..\Docs\My Music\Composer\Subfolder\Subfolder2\Brahms - Wiegenlied (Cradle song Lullaby) Op.49 No.4

with this result please;

Brahms - Waltz in A Flat Major.mp3
Brahms - Wiegenlied (Cradle song Lullaby) Op.49 No.4

IOW, I just want to see the string after the last '\'.


--
Terry, East Grinstead, UK

Posted: Sun Apr 05, 2015 6:09 pm
by ben_josephs
Find what: .*\\
Replace with: [nothing]

Posted: Mon Apr 06, 2015 4:24 pm
by terrypin
Thanks! You should have seen some of my highly complicated attempts. So blindingly simple now you've shown me, :)

--
Terry, East Grinstead, UK