Lorem ipsum dolor sit $amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et $dolore magna aliqua. Duis aute irure $dolor in reprehenderit in

There are some half-width dollars in some texts. I want to replace this $with a yen.
When substituting with sublime text, $and yen are entered to replace them, and the $in the text is not replaced.
Why can't $be replaced? How can I replace a circle?

  • Answer # 1

    I don't know the situation of Sublime Text because it's Atom, but the search function with regular expressions will be enabled

    Isn't it helpful here?


    $or: or) must be preceded by a backslash (\).

  • Answer # 2

    This is a supplement to other respondents, but the$in the regular expression represents theend, so there is a circle at the end of the sentence Isn't it?

  • Answer # 3

    Turn off regular expression (Alt + R) to replace it.