Just another user python script that can reverse selected words in notepad++, such as from such as from "types.core.services.projecta.codeexample.com" to "com.codeexample.projecta.services.core.types".
The complete code is as below:
# change this if the delimiter is not .
delimiter = ".";
selected = editor.getSelText();
reversed = delimiter.join(selected.split('.')[::-1]);
editor.replaceSel(reversed);
To view the complete code, please refer: https://github.com/jefferyyuan/tools/blob/master/notepadplusplus-plugins/reversewords.py
About how to install the PythonScript, create a user python script, run it from Scripts submenu, assign the script to the toolbar, or assign it a shortcut, please read http://npppythonscript.sourceforge.net/docs/latest/usage.html#installation.