Finder: Finding files with digits
Moderators: fgagnon, nikos, Site Mods
-
Sudhin
- New Member
- Posts: 5
- Joined: 2002 Oct 27, 08:17
- Location: India
Finder: Finding files with digits
How do I search for filenames which contain numbers:
1. At least one number > admin1.txt to admin9.txt
2. At least two numbers > user12.txt to user99.txt
and so on...
I tried regular expressions *[0-9]. But this doesn't return any files.
Does xplorer2 support regular expression in Finder? Where do I find more documenation about this feature?
Last edited by Sudhin on 2004 Jul 25, 15:29, edited 1 time in total.
-
nikos
- Site Admin

- Posts: 16344
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
Sudhin
- New Member
- Posts: 5
- Joined: 2002 Oct 27, 08:17
- Location: India
-
nikos
- Site Admin

- Posts: 16344
- Joined: 2002 Feb 07, 15:57
- Location: UK
now that i think about it, you gave me an idea!
you can also scan for filenames using the "name" additional rule
if you use a string like 0,1,2,3,4,5,6,7,8,9 for the name rule, you'll get all filenames that include a digit!
notice how commas are used to perform boolean OR within the text content, which in this case is the name. You only need the one rule. The quickstart guide explains this in more detail
you can also scan for filenames using the "name" additional rule
if you use a string like 0,1,2,3,4,5,6,7,8,9 for the name rule, you'll get all filenames that include a digit!
notice how commas are used to perform boolean OR within the text content, which in this case is the name. You only need the one rule. The quickstart guide explains this in more detail