replacems-wordlatexnotepad++text-editor

Replace capital letter with same letter but curly brackets surrounding the letter: Sun => {S}un


How can I easily (Word, Notepad++, Wordpad etc.) replace the capital letter in words with the same letter surrounded by curly brackets? I'm editing a jabref LaTeX file where this has to be done to capital letters.

Example:

Today is Monday and tomorrow will be Tuesday. YAY! => {T}oday is {M}onday and tomorrow will be {T}uesday. {Y}{A}{Y}!

I tried doing this with the wildcards in Word and Notepad++ but failed. At the moment I'm doing this manually which is annoying.


Solution

  • This can easily be done using wildcards in Word:

    enter image description here