Transpose words using the Replace feature

Word 2016 2013 2010 2007 2003
Just as you did in the Find tab, you can use wildcards in the Replace tab. Here's a wildcard trick that uses parentheses and backslash wildcards to transpose words.

The example to swap two words

It's especially useful when you'd like to change the full name from the last name first to the first name first:

Text example in Word 365

For example, type (Smith), (John) in the Find What box, and type \2 \1 in the Replace With box. Select the Use Wildcards checkbox (see more how to work with wildcards):

Search example in Word 365

Click the Find Next button, and then click Replace. Word finds Smith, John, and replaces it with John Smith. Placing the comma outside the parentheses ensures that it's eliminated when the replacement text is inserted:

Text example in Word 365

The example of transposing two words

When you have a text in which you need to swap two words, for example, swap Rose and Alice:

Text example to transposing words in Word 365

Do one of the following:

  • The manual, more common, method:
    1. Replace the first word with a unique character, word, or specific sequence.
    2. Replace the second word with the first.
    3. Replace the unique character, word, or specific sequence from point 1 with the second word.
  • The method using wildcards:
    1. Type (Rose) (*) (Alice) in the Find What box, and type \3 \2 \1 in the Replace With box.
    2. Select the Use Wildcards checkbox:
      Search example in Word 365
    3. Click the Find Next button, and then click Replace. Word finds the sequences that begin with Rose and end with Alice and replaces them. Any characters and words between these two words are saved:
Text example to transposing words in Word 365

See also this tip in French: Transposer des mots à l'aide de la fonction Remplacer.

Please, disable AdBlock and reload the page to continue

Today, 30% of our visitors use Ad-Block to block ads.We understand your pain with ads, but without ads, we won't be able to provide you with free content soon. If you need our content for work or study, please support our efforts and disable AdBlock for our site. As you will see, we have a lot of helpful information to share.