Hello guys I need a bit help I neeed to switch words position on notepad++ they are like this.
Grands|Albz
So I wanna to switch grand with albz to to other side without moving | to make it like this
Albz|Grands
Whloe of the text any help please?
do
1)
cntrl+f
2) go to the
replace
tab3) type
Grands|Albz
infind what:
4) type
Albz|Grands
inReplace with:
5) Click on
Replace All
box(3rd from the top in right side in the pane) to replace all the occurrence.If you want to make it generalize try below solution: do
1)
cntrl+f
2) go to the
replace
tab3) check the check box that say
Regular expression
at the bottom left corner.4) type
([A-Za-z]\w+)\|([A-Za-z]\w+)
infind what:
5) type
\2\|\1
inReplace with:
6) Click on
Replace All
box(3rd from the top in right side in the pane) to replace all the occurrence.