One day I was editing HTML code and needed to add a br tag at the end of each line.
That’s why I opened the HTML code in the text editor Notepad++, opened the search window (Ctrl+F), selected the “Replace” tab, and specified that I needed to find the symbol:
$
And in the “Replace with:” field I indicated what needs to be added at the end of each line.
Below we note the Search Mode: “Regular expr.” and “new line”.
After clicking “Replace All”, a br tag was added at the end of each line.
See also my articles:
How to add characters to the beginning of each line
How to add a blank line after each line