Score:1

replace a dollar sign $ with carriage return in a text editor

mx flag

I have a text with dollar signs I wish to find the $ signs and replace each one with a carriage return. Please note I do NOT want to remove carriage returns. I can do this with sublime text 3 but sublime text 4 can not

Raffa avatar
jp flag
By *"carriage return"*, do you actually mean Windows style CRLF line terminators? ... Also please provide a sample few lines and show an example of the expected end result in relation to that sample.
vanadium avatar
cn flag
You may want to consult the manual of your text editor or use one that has such functionality. In Gedit, the former default editor of the Gnome desktop, you would search for `\$` and replace with `\n`, option "Regular expression" checked.
in flag
SublimeText 4 can most certainly do this. You may need to *copy* a new line and then paste it into the replace field
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.