I have text like this:
1;a;3;;
2;abc;4;;
3;abcde;5;;
I want to align texts to the right with notepad++, so become like this:
1;a;3;;
2;abc;4;;
3;abcde;5;;
How to do this?
I think you'll need two main steps here. In Notepad++, select Plugins -> Plugin Manager and check if the TextFX Characters plugin is installed.
Solution for use case 1
Solution for use case 1 (continue)
^(.+?)(\h+)
\2\1
Solution for use case 2
Copy the character used as a delimiter ";" to the clipboard and select all rows.
Select TextFX -> TextFX Edit -> Line up multiple lines by (Clipboard Character):
Special use case 3
BTW - you may want to use Ctrl+Alt+R for viewing and writing right align and switch back by using Ctrl+Alt+L for left align.