Copy link to clipboard
Copied
I have CC DW 2017.0.1 and I have created a regular expression that works in previous versions of Dreamweaver but it won't find or replace any matching text. I am new to this version so I may have something incorrect in the settings.
Please advise how I can replace the highlighted text which is in the code many times but with different values after the qs=
Code issues can definitely cause DW to act up, but since it does work in Brackets (not sure if they have the same F&R tool) that would make me lean toward something going corrupt in DW itself. I'd try clearing the program cache and/or renaming the personal configuration folder as my first steps...
Clear Program Cache - https://forums.adobe.com/thread/494811
Rename Personal Configuration Folder - https://forums.adobe.com/thread/494812
Those tend to catch a lot of funky "just started happening" style
Copy link to clipboard
Copied
Turn off the Search Text Only button (T icon) on the end of the F&R filters.
Copy link to clipboard
Copied
I turned off the search text button but it still doesn't match.
My code looks like a d but it is a cl
"http://cl\.exct\.net/\?qs=[a-z0-9]+"
you can see the distinction better with this font.
Copy link to clipboard
Copied
I noticed that and deleted my post (I'm guessing it was still in your email though).
When I duplicate a chunk of your page and run the same regex, without the Search Text Only button selected, it highlights the links without issue.
I wonder if the code errors on the page are possibly confusing DW?
Have you tried validating and clearing those up yet?
Copy link to clipboard
Copied
The errors are all warnings and I get emails like this 2-3 times per week. I won't be able to correct the errors every time before DW will replace the links that need to be changed.
Consequently, I tried it in Brackets without any changes and it matched all 13 occurrences.
Is it possible there is some setting incorrect in DW? I prefer DW over Brackets so I still want this to work, if it can.
Copy link to clipboard
Copied
Code issues can definitely cause DW to act up, but since it does work in Brackets (not sure if they have the same F&R tool) that would make me lean toward something going corrupt in DW itself. I'd try clearing the program cache and/or renaming the personal configuration folder as my first steps...
Clear Program Cache - https://forums.adobe.com/thread/494811
Rename Personal Configuration Folder - https://forums.adobe.com/thread/494812
Those tend to catch a lot of funky "just started happening" style behavior in DW.
Copy link to clipboard
Copied
I appreciate you sticking with me on this. I went to the file location and neither the cache or configuration folder is where it should be. Here is a screenshot and the folder showing is empty.
Copy link to clipboard
Copied
Hi sharingsunshine,
Can you try this document and let us know? Unusual behavior in Dreamweaver? Try restoring preferences.
Thanks,
Preran
Copy link to clipboard
Copied
trying that document nothing happens. The dreamweaver.exe is located in C:\Program Files\Adobe\Adobe Dreamweaver CC 2017 then when I click on dreamweaver.exe nothing happens while I hold down the Windows key and control shift at the same time.
Copy link to clipboard
Copied
You have to enable your OS's hidden files/folders to see them.
Copy link to clipboard
Copied
I made them visible, I believe in the beginning.

https://gyazo.com/17c16d5f0a03a8be79e30452cc50eb74
I am new to Windows so let me know if I need to do something else too.
Copy link to clipboard
Copied
You're in the wrong Dreamweaver folder in your screenshot.
The path should be...
C: > Users > rjw > AppData > Roaming > Adobe > Dreamweaver CC 2017 > your language > Configuration
Copy link to clipboard
Copied
Thanks to everyone, clearing the cache fixed the problem.
Copy link to clipboard
Copied
This is not a bug. It is as expected. In the screenshot you have selected Search Text only as well which is the reason Regex search is not happening. If Search Text only filter is removed, Regex find and replace operations works without any errors. Tried in the same version 17.0.1.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now