Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 988
tim Avatar asked Jan 25 '13 19:01

tim


People also ask

How do you make the first letter capital in notepad?

Make it lowercase ( ctrl + u ). Press ← to go to the front of the word. Uppercase that, ( ctrl + shift + u ).

What is the shortcut to capitalize the first letter?

To use a keyboard shortcut to change between lowercase, UPPERCASE, and Capitalize Each Word, select the text and press SHIFT + F3 until the case you want is applied.

How do you capitalize words in notepad?

You can also use Ctrl+Shift+U for UPPERCASE and Ctrl+U for lowercase if you like shortcut keys.

How do I make the first letter capital of a string?

To capitalize the first character of a string, We can use the charAt() to separate the first character and then use the toUpperCase() function to capitalize it.


2 Answers

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

like image 117
Placido Avatar answered Sep 20 '22 22:09

Placido


Well, you can install the TextFX plugin and apply Sentense case. Here you have some tricks (including this one). http://a4apphack.com/featured/tricks-with-notepad

like image 27
Abner Avatar answered Sep 21 '22 22:09

Abner