Removing Latex Tags in a Word Document

We can use the regexp feature of the find/replace tool in Word.

Search for:

\\code\{(*)\}

Where:

  • \ is the escape char (thus the \\ for detecting a Latex tag)
  • * means “everything”
  • ( ) creates a logical entity that you can re-use in the replace field.

and replace by:

\1

which refers to the entity we created by using ().


More info on this doc

Leave a comment

Your comment