1 Reply Latest reply on Apr 11, 2013 1:36 PM by Peter Spier

    Grep search to character style


      I understand that I can use GREP to search and replace. But how do I save this search to a character style (where I can also use GREP) – or am I missing something here?



      Example of search that I want to be a permanent replace in a character style:

      Search for this:


      Replace with this:

      $1 $2 $3

        • 1. Re: Grep search to character style
          Peter Spier Most Valuable Participant (Moderator)

          You can only rearrange the text string in Find/Change. You can also set the change formatting to a character style at the same time.


          I'm not really sure what youwant to do, though. It sounds a bit like you want to use a saved query as a nested GREP style in your paragraph style. I don't think you can load a saved query in that dialog, and GREP styles can only apply a character style, and only to all of the text that matches.