Skip to main content
Participant
September 7, 2023
Answered

Search/Replace in Design view rather than code view

  • September 7, 2023
  • 1 reply
  • 310 views

Good morning!

In previous versions of Dreamweaver (CS6 for example), the search/replace box had the option to perform the search/replace in either code view or design view.

 

My agency often recieves large batches of files (in the thousands) from another agency where things like quotes and ampersands are not escaped. By performing the search/replace in design view, it was easy to remediate hundreds of files at once without affecting things like quotes in attributes.

 

I've tried to repeat this process in DW 2021, but I can't seem to confine the search to design view no matter what I try. Where has this option been hidden?

    This topic has been closed for replies.
    Correct answer Jon Fritz

    Which Find & Replace are you using (there are two now, in the more recent versions)?

    Ctrl/Cmnd + F is "Find in Current Document" (opens at the bottom of the document) and Ctrl/Cmnd + Shift + F gives you "Find and Replace in Files" (opens as a dialogue window) with far more options for searching.

    Under Find and Replace in Files, if you click the Martini Glass Icon (Filter) in the upper right, you can check the option for "Search Text Only", which should allow you to find quotes that are not part of html attributes.

    1 reply

    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    September 7, 2023

    Which Find & Replace are you using (there are two now, in the more recent versions)?

    Ctrl/Cmnd + F is "Find in Current Document" (opens at the bottom of the document) and Ctrl/Cmnd + Shift + F gives you "Find and Replace in Files" (opens as a dialogue window) with far more options for searching.

    Under Find and Replace in Files, if you click the Martini Glass Icon (Filter) in the upper right, you can check the option for "Search Text Only", which should allow you to find quotes that are not part of html attributes.

    PaulRLAuthor
    Participant
    September 7, 2023

    Perfect! The "Search text only" was exactly what I was looking for. I was starting to sweat, because I have around 400 documents to fix, and I wasn't looking forward to having to open them and do them 1-by-1. They're now all fixed up with a click, thank you!