Gentlemen, help with regular season. There is a pattern that is looking for what it needs: \{\{(.*)\}\} You need to make it look for everything except for entries that start with {{Book

\{\{^Книга(.*)\}\} - does not work, what am I doing wrong?

Approximate text such:

Literature {{Book || author = Shcherbina PS | title = Beekeeping | year = 1956}}

12 - Links

References {{Commons | Honey}}

 «Мёд» в энциклопедиях на Яндексе. ГОСТ 31766-2012. Меды монофлорные. Технические условия Чем полезен мёд и как его правильно выбрать 

{{Rq | style | sources}}

Category: Beekeeping Category: Russian folk life {{Link FA | hek}}

{{Link FA | hr}}

{{Link FA | ja}}

{{Link FA | scn}}

    2 answers 2

    Here is the correct regular expression:

     @\{\{((?!Книга).+)\}\} @iu # (?!Книга) - негативный просмотр вперед (после символов {{ не встречается "Книга") 

      \ {\ {[^ Book]. + \} \}

      • one
        @Faydaen, you have an error in the expression. It reads like this: If after the characters {{there is one of the characters "k", "n", "i", "g" or "a" - stop sampling. - VenZell