keyboard-shortcutstext-filesnotepad++notepadcapitalization

Notepad++: Capitalize first letter by Shortcut?


I've got a huge list of words (every single word in one line in a txt file) and certain words need to get capitalized manually (e.g. by hand), so I was looking if there's a shortcut in notepad++ (my editor currently) to automatically capitalize the first letter of a line but couldnt find one. Is there none? If not, can you advise me an alternative windows program to quickly do this by using a simple shortcut (so I can go through with the arrow-down key and use the shortcut whenever needed on a specific word)? thanks a lot


Solution

  • This can be easily done if the first letters are latin characters. But this method does not work with non-latin (for example cyrillic) characters. Just press Ctrl+F, enable "Regular Expression" checkbox, and search for

    ^(.)
    

    replace with (Replace All)

    \u\1
    

    ". matches newline" checkbox has to be unchecked