Copy link to clipboard
Copied
Is there a way to get Dreamweaver to only search in php files or another given file type, ignoring all other file types?
Copy link to clipboard
Copied
Select the files that you want to search. For more options see https://helpx.adobe.com/au/dreamweaver/using/find-replace-text.html
Copy link to clipboard
Copied
Copy link to clipboard
Copied
If the option is not in the Help file, then it is not possible at this moment. To change that, submit a feature request
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I'm almost certain you could do this with Regular Expressions.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Maybe something like this
([a-zA-Z0-9\s_\\.\-\(\):])+(.php)$
I'm RegEx challenged. So I sent a PM to WoflShade.
Copy link to clipboard
Copied
but didn't the search field search only into the file content, and not in the file panel... ???
I believe, or at least I think, that the OP wand to search specific content in certain file type... not contnet that contains filenmae using php extension
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
As far as I know, Dw does not have the ability, via RegEx or any other way, to specify searching in only a specific type of file.
I just looked (Dw CC2018) and there is a drop-down option for "Selected Files In Site", which is close.
The only other thing I can think of would be to open all of the files you want to search and use the "Open Documents" selection.. it will search only the documents currently open in Dw.
Sorry I'm not of any more help than this.
V/r,
^ _ ^
Copy link to clipboard
Copied