0 Replies Latest reply on Mar 27, 2015 9:42 AM by KrishnaGopa

    Find/change with wildcards and grep?

    KrishnaGopa Level 1

      Is there a way to do a find/change where you search for a single italic character in between two roman characters, and change them all to italic? For instance change sūt to sut throughout a document. (I cannot simply search for the word "sūt" as these character strings tend to be in the middle of arbitrary words, thanks to an author who sometimes input, for instance "Avataṃsakasūtra" and sometimes "Avataṃsakasūtra" [note the Roman "u" in the second instance].) It is further complicated by the fact that sometimes this whole word needs to be in italic and sometimes the whole word needs to be in Roman.

      Is this something I can do with grep?