Sublime Forum

How to mix words / change order with regex?

#1

hello. I want to mix many words from a text file.

Suppose I have this words: Word_A WORD_B WORD_C WORD_D WORD_E

I want to change something like this: WORD_E WORD_C WORD_B WORD_E Word_A

Any suggestion?

0 Likes

#2

You could probably use capture groups for that.

0 Likes