hello folks,
is it possible to remove everything to the first "-", including the "-"
example: i will remove "artist - " from "artist - album (year)"
thx for reply
the pi
Renamer question
-
- Plugin Developer
- Posts: 36
- Joined: 11 Dec 2005, 20:08
- Contact:
Re: Renamer question
Yes, it is possible. Even, there are two ways to achieve it using regular expressions. Just search for ".*? - " or "[^-]*- " and replace it with nothing.mr.pi wrote:hello folks,
is it possible to remove everything to the first "-", including the "-" :?:
example: i will remove "artist - " from "artist - album (year)"
thx for reply
the pi :D
The first means -- the shortest repetition (*?) of anything (.) followed by " - ".
The second means -- the longest repetition (*) of anything but "-" ([^-]) followed by "- ".
The most parts of regular expression, can be `clicked' from the menu to the right of the `search for' field.
With regards
Lukas Cerman