• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Find & Replace within Search Results or Negative Query?

New Here ,
Jul 07, 2021 Jul 07, 2021

Copy link to clipboard

Copied

RE: Dreamweaver CC 21

Hello community, I hope you can help me with an issue I am having with Dreamweaver Find and Replace.

I do a find and generate a set of pages as my search result.  Now I want to search within these pages for another query.  How can I do that?

 

Alternatively, I could search for a document (not a specific tag) that [contains] x AND [does not contain] xx but I can't see how to do that either only if both parameters are within a specific tag.

 

Any help would be appreciated. 

Views

138

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2021 Jul 08, 2021

Copy link to clipboard

Copied

Well, welcome to the gang... in fact it's already many years and builds ago that I made the request of this new features that allows to search a new request, in a first search results... without success...


I also asked to have several panels of results possible... no way...

so in short... I gave up...

 

anyway to answer your first question... which consist to launch a new search in a result panel...

  1. close all your documents, launch a first search (Ctrl shift F)
  2. once the results are displayed in the result panel, select all the results, and from a right click, open all the files...
  3. now launch a new search, in the opened files (ctrl shift f)

 

for your second question, launch a ctrl shif f (find in files) then everything is said in the screenshot, well it's in french but it shouldn't be a problem... isn't it ?

in case... just let us know

find-1.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 08, 2021 Jul 08, 2021

Copy link to clipboard

Copied

Hi Birnou, thank you so much for your reply.

1.  So no way to search within a results set without opening all 190 files in the set at the same time.  I tried this but it crashed my computer.  😞   So weird, this feature was in Microsoft Front Page back in 1998 and Adobe still can't get there.

2.  I tried this method but it didn't yield results.  Let me double check if I got it right.  I want to find all documents that contain "D2130790" but that don't contain "scode".  These are the settings I used.   I manually verified that there were some documents that should return results but when I ran the query none were found.  Did I get it right?  The two parameters are inside two separate input tags.

jstour_0-1625809518186.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2021 Jul 08, 2021

Copy link to clipboard

Copied

well, that was another bug report bever corrected... opening too much files in DW or searching in too large files content... crash DW... in the best luck... DW didn't crash... but freeze or hang... 😉

 

anyway... for the second part, I see that your settings are Not inside Tag... did you try Inside tag [any tag] instead ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 09, 2021 Jul 09, 2021

Copy link to clipboard

Copied

I tried it now but got no results.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 09, 2021 Jul 09, 2021

Copy link to clipboard

Copied

I think it's the advanced search that isn't working.

190 pages that contain "D2130790" using Basic search.
But when I use advanced search I get 1 result.

jstour_1-1625816543998.png

It starts to find some results then the results disappear and reset to 1.  It appears that during the search it is dropping the "text" parameter which causes it to yield no results.  If I try to select "text" and then add another parameter, "text" disappears out of the box or my parameter disappears and won't come back until I don't add text.

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 09, 2021 Jul 09, 2021

Copy link to clipboard

Copied

sorry wrong place to answer... so I moved the comment

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2021 Jul 08, 2021

Copy link to clipboard

Copied

Hi @jstour,

I suggest you use the Advanced Panel to run your Find query.  If you tell us exactly what you're trying to find and where, maybe we can help you.

 

OPTIONAL WORKAROUND.

1. Open your Files Panel (F8) and Ctrl+Click on the first set of result pages to highlight them. 

2. Run the 2nd Find query on selected files in site.  See screenshot.

 

Ctrl + Shift + F > BasicCtrl + Shift + F > Basic

 

Hope that helps.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2021 Jul 08, 2021

Copy link to clipboard

Copied

hello @Nancy OShea , I'm just curious, how, do you have a relation ship in between the results panel (giving the first result of the first search) AND the files panel to select the appropriate files to launch the second search ?

 

in my workaround, I select all and right click on the result panel, and ask to open all the files in Dreamweaver... THEN I launch the second search on the opened files...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 08, 2021 Jul 08, 2021

Copy link to clipboard

Copied

Hi Nancy,

 

Thank you for your reply, I really appreciate it. 

I want to find all documents that contain "D2130790" but that don't contain "scode".

So using your suggestion, I select the files within my files panel I want to search within (There are 1440 files I select).  I search for "D2130790" and get 190 results.  Now I highlight those 190 results and open again my search box.  I search for "scode" but it searches the original 1440 files instead of only the 190 results and i get 455 results of 1440 pages searched.

Is there a way to just search for any files that don't contain a word rather than any files that do contain a word?  In Advanced it seems to only return results of tags that don't contain a word so there are zillions of results.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 09, 2021 Jul 09, 2021

Copy link to clipboard

Copied

LATEST

I don't know what to tell you, in fact I neverreally  try to use dialog box to work a data flow in dreamweaver...

in fact , it is never complete, and on large web site, it often hangs

 

so I become node addict... but I still daily use Dreamweaver... fantastic projets manager...

 

Anyway, please give a try to this query... copy and paste the code down below into a file and call this file

dummytest and choose a dwr extension as dummytest.dwr

then load this query from the advanced dialog box, let me know if that works

load-query-2.png

 

 

 

<?xml version="1.0"?>
<dwquery>
  <queryparams matchcase="false" ignorewhitespace="false" useregexp="true" wholeword="false" textonly="true" />
  <find searchmode="site">
    <qtag qname="[toute balise]"><qtext qname="^(?!.*scode).*D2130790.*$" qconvertednls="true"></qtext></qtag>
  </find>
  <replace action="setAttribute" param1="" param2=""/>
</dwquery>

 

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines