[ACCEPTED]-Regex using Notepad++ to add space before a capital letter-capitalization
Search string: (.)([A-Z])
Replacement: \1 \2
This doesn't 2 insert spaces before capitals that are the 1 first letter on their line.
Find: ^([A-Z])
Replace: \1
this will add a 4 space to the first uppercase character in 3 notepad++ Make sure you put the space before 2 the \1 in the replace section.
WABET : <-from WABET 1 : <-to
In Notepad++, do a search-n-Replace (ctrl+h), in 10 'find what' input '([a-z])([A-Z])' without 9 single quotes. in 'Replace with' input 8 '\1 \2' without quotes.
Select radio button 7 'Regular Expression' and make sure you Check 6 'Match Case' checkbox. Now find next and 5 keep replacing. it will convert camel 4 or Pascal case strings into words with a 3 space before every capital letter except 2 the first.
Hope it is helpful. I just used 1 it with one of my tasks.
Find what: .\K([A-Z])
Replace with: $1
a space
before $1
Note!!!!!! Must 1 to check match-case
see in attached photo.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.