# Find files but ignore file extension in search

#### glennw

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:
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.

#### Steve Fabian

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:
| 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

#### glennw

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:
| 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