Answer the question
In order to leave comments, you need to log in
How to leave only the first letters of words in notepad++?
Good afternoon friends! Help solve the problem, only the first letters of the words should remain; a
line of this kind:
St. Petersburg Polytechnic University of Peter the Great
, you need to get
SPBPPUPV
Answer the question
In order to leave comments, you need to log in
Since this is an abbreviation, you first need to make the first letters capitalized (large). For simplicity, you can generally make the entire text like this, anyway, then we will cut off the excess. Press Ctrl+A to select everything, then Ctrl+Shift+U .
Then we are already looking for a regular expression. We skip the first word. We are looking for words that are preceded by a space, and remove this very space and everything except the first letter from such words.
Find: ([^ \n])[^ \n]+
(add a space at the beginning)
Replace with: \1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question