I have mp3 files that start with the track # e.g. “02-songname…”.
I have duplicates that instead of the dash there is a blank space e.g. “02 songname…”.
I want to mark the duplicates of the latter type, i.e. the ones with spaces instead of the dash.
I think there is a method called the text pattern. I find it confusing and not sure how it works.
Any suggestions? Help appreciated.
Duplicate Selection/Mark by text pattern
Re: Duplicate Selection/Mark by text pattern
Selection Assistant -> Select by text pattern
- Use Regular Expressions
Says to find names that start with two digits followed by a space (followed by anything).
So it should find:
Check your results.
If you only wanted files with a single space after the digits, you could use something like this:
- Use Regular Expressions
Code: Select all
^\d\d\s
Code: Select all
02 songname.txt
02 songname.txt
02-songname.txt
Code: Select all
02 songname.txt
02 songname.txt
Check your results.
If you only wanted files with a single space after the digits, you could use something like this:
Code: Select all
^\d\d\s{1}\S
-
- Posts: 3
- Joined: Sat Jul 09, 2016 2:20 pm
Re: Duplicate Selection/Mark by text pattern
Perfect! That worked.
Thanks mucho
Thanks mucho