Filtering by the no of occurences of a char


#1

Dear People
I have a lot of songs from movies. (In India from where I am writing, all movies have at least three of four songs :wink:

The filenames are generally the first few words of the first lines. Mostly the words are separated by space or a dash.

I want to filter the filenames depending upon the number of spaces (or dashes).

For example - all filenames that have only two space (or dashes), only three spaces (or dashes).

I would be grateful for any help and thanks in advance!


#2

Look here:
Filter expressions