Skip to main content
December 15, 2025
Question

Find/Replace Bug

  • December 15, 2025
  • 3 replies
  • 138 views

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.

3 replies

Jon Fritz
Community Expert
Community Expert
January 7, 2026

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.

Community Expert
January 7, 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.

Nancy OShea
Community Expert
Community Expert
January 6, 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