Find files but ignore file extension in search

Dec 18, 2008
4
0
#1
This might be real simple.

I want to find all files that have a specific string to the left of the extension and not include the extension as part of the wildcard search.

For example:

For my *doc* search,

return:

doctor.doc
builddock.txt
docktime.doc
doc

but don't return:
badfile.doc
anyfile.doc

In other words, if *doc* is the extension don't show me the file unless *doc* is also part of the file name.
 
#2
From: glennw
Subject: [Support-t-3406] Find files but ignore file extension in search

| This might be real simple.
|
| I want to find all files that have a specific string to the left of
| the extension and not include the extension as part of the wildcard
| search.
|
| For example:
|
| For my *doc* search,
|
| return:
|
| doctor.doc
| builddock.txt
| docktime.doc
| doc
|
| but don't return:
| badfile.doc
| anyfile.doc
|
| In other words, if *doc* is the extension don't show me the file
| unless *doc* is also part of the file name.

AFAIK this ought to do it: *doc*.* - BUT it does not, it also reports all files with the .DOC extension. Why it ignores the presence of the explicit dot "." to separate name from extension I do not recall. However, this apparently does: *doc*[.]* - the brackets around the dot make it a required character [even if only implied].
--
HTH, Steve
 
Dec 18, 2008
4
0
#3
From: glennw
Subject: [Support-t-3406] Find files but ignore file extension in search

| This might be real simple.
|
| I want to find all files that have a specific string to the left of
| the extension and not include the extension as part of the wildcard
| search.
|
| For example:
|
| For my *doc* search,
|
| return:
|
| doctor.doc
| builddock.txt
| docktime.doc
| doc
|
| but don't return:
| badfile.doc
| anyfile.doc
|
| In other words, if *doc* is the extension don't show me the file
| unless *doc* is also part of the file name.

AFAIK this ought to do it: *doc*.* - BUT it does not, it also reports all files with the .DOC extension. Why it ignores the presence of the explicit dot "." to separate name from extension I do not recall. However, this apparently does: *doc*[.]* - the brackets around the dot make it a required character [even if only implied].
--
HTH, Steve
Excellent, thanks.

Glenn