4 Replies Latest reply on May 14, 2014 7:22 AM by gert verrept

    grep diferrent in change all or step by step

    gert verrept Level 2

      I've made a grep to put some text centered. The grep works fine, the find is:

      ^(Art |Art. )(.+?)(\. )(?=\w)

      the change part is

      \r$1$2\r\r + para-style "centered"

      When I apply the grep step by step (change/find) all goes well, but when I select "change all" it centers all the text. See the screenshot. I suppose the reason will be simple, but I cannot get a hand on it.


      Left side is the step by step, right side is the change all method.