Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use gnome-search-tool for searching files/folders. There I can put regular expression to filter through file names. I need some help with my custom filter (search).

My folders have format: myFolder[year][language].

How can I search for folders which name contains:

  • [year1] and [language1]
  • [language1] or [language2]
  • from [year1] to [year2]

gnome-search-tool and regexpr

Any help will be appreciated!

share|improve this question
Did you try using a backslash to escape the brackets? \[2012\] – Ed Manet Jan 15 '13 at 15:46
Yes, I did. Does not work. – madox2 Jan 15 '13 at 15:52
What exactly have you tried that does not work? Escaping the brackets is surely one thing you will have to do, but if you say "does not work" it means that you are doing something else wrong. – Andrea Corbellini Aug 26 '13 at 15:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.