I have multiple files with different number of words using underscore. I would like to easily (easily modifiable solution) move the last word to between in any word i want.
ex: word1_word2_word3_word4 to
word1_word4_word2_word3
but also be able to use the same solution to do
word1_word2_word3_word4_word5_word6 to
word1_word2_word3_word4_word6_word5
thanks.