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

Find/Replace Bug

New Here ,
Dec 15, 2025 Dec 15, 2025

Using Find/Replace, some characters in Replace window are not in the output.

Looks to be triggered by $ sign.

E.g., 

Find  $2812, Replace $4567 returns only 67 in the output

 

The $ sign and the next two characters are missing in the output.

TOPICS
Error , Other , Product issue
129
Translate
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 ,
Jan 06, 2026 Jan 06, 2026

Sorry for the late reply.  

In RegEx code, $ is a powerful anchor for strict pattern matching to the end of your text string.

 

To match a literal dollar sign ($2812), you must escape it first with a backslash like this: \$2812

 

Hope that helps.

 

[Topic moved from DW Bugs to Discussions.]

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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 ,
Jan 06, 2026 Jan 06, 2026

@gwardbrookes, since your thread is about a Find/Replace issue rather than a regex pattern, it may be worth double-checking that Regular Expressions are not enabled. In Dreamweaver, this option can be toggled from the filter (funnel) menu Lena_2-1767770396967.png in the Find/Replace dialog, both :

 

for single-file searches (Ctrl/Cmd + H)

Lena_0-1767770310785.png

or in Find in Files (Ctrl + Shift + F / Cmd + Shift + F).

Lena_1-1767770327523.png


If, on the other hand, this is meant to be a regular expression search, then @Nancy OShea’s advice applies: simply escape the dollar sign by using \$, and in that case only, keep the “Regular Expressions” checkbox checked.

That said, in a regex context, it would be interesting to understand the broader pattern being targeted, as the example given looks closer to a literal replacement.

Translate
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 ,
Jan 07, 2026 Jan 07, 2026
LATEST

I tried duplicating what you describe in DW 21.6 and couldn't get the partial replacement to happen.

If using the RegEx option in the Filter dropdown, it would simply fail. Otherwise, the text was changed without issue in Code/Live Split View in an HTML document.

One thing I have noticed over time with DW is that it really does matter, when it comes to bugs, what versionfile type, and view is being used. That information may help find where the problem is coming from, or point to a potential fix or workaround.

Translate
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