I am trying to add parentheses to the beginning and end of a line in Notepad ++. Using sed, I would do:
sed -i 's/^/(/' filename sed -i 's/$/)/' filename
and do it, but I have to use Notepad ++ on Windows. I went to find and replace, select regular expressions and tried to replace "^" with "(", but I got a "zero length" and does not add a character (same with replacing "$" with ")")
What am I doing wrong?
regex notepad ++ sed
Tensigh
source share