2 Replies Latest reply: Sep 8, 2009 8:53 AM by [Jongware] RSS

    GREP Problems

    trianita Community Member

      All I want to do is remove a space from infront of my h1 style

       

      can anyone tell me why this setting isnt working?

       

       

      it will work if i am replacing it with a character - but wont replace it with nothing (ie delete it)

        • 1. Re: GREP Problems
          [Jongware] Community Member

          It will work if you remove the "H1" specification from the Replace field.

           

          This works just like the regular Search & Replace:

          - text or formatting or both in Search, nothing in Replace: text will be removed;

          - text or formatting or both in Search, only text in Replace: text will be replaced;

          - text or formatting or both in Search, only formatting in Replace: text will be formatted.

           

          Your settings fall under this last point; every H1 with an initial space will be formatted to H1 ...

          • 2. Re: GREP Problems
            trianita Community Member

            lovely jubbly

             

            works a treat