3 Replies Latest reply on Aug 2, 2011 5:04 PM by Eugene Tyson

    GREP

    abssiddiq

      Hi

       

      I am working on a document in CS4 it has a Italic Word followed by a comma it is also in Italic.

       

      Is there GREP Expression to Change my italic comma to roman.

       

      Thanks

      Siddiq

        • 1. Re: GREP
          Eugene Tyson Adobe Community Professional & MVP

          Find

           

          (?<=[a-z])\,

           

          Change to

          <leave blank>

           

          Find Format

          Select Italic style under Character Format

          • 2. Re: GREP
            Peter Spier Most Valuable Participant (Moderator)

            Be careful waht you wish for, though. That will change every comma after a lowercase letter, even if in the middle of a string of words where you might actually want it to remain italic.

             

            AND, if you don't specify some change formatting, I think Eugene's querey is going to delete the commas. I thought you wanted to make them not italic.

            • 3. Re: GREP
              Eugene Tyson Adobe Community Professional & MVP

              Once again I didn't explore every nook, it found the italic comma after the italic text.

               

              One would hope that savvy kicks in and when they notice the comma is gone they can change the format settings and insert the comma etc.