Skip to main content
Maiane Gabriele
Inspiring
October 17, 2019
Question

Grep for findind footnote references

  • October 17, 2019
  • 1 reply
  • 1454 views

I've a whole document with footnotes references in the middle of the text that are wrong, even with the right style at the footnote options panel the references are still wrong. I hope I could find all of them and set the right character style.

In the text all words are like these:

"lalala lalala footnoteword2 lalala lalala"

I need to find just  the "2", is there some grep style I can use in order to achieve it? I've tried a few things but I'm still not that good in using grep.

 

Thanks in advance 🙂

    This topic has been closed for replies.

    1 reply

    Peter Kahrel
    Community Expert
    Community Expert
    October 17, 2019

    You don't want a grep sstyle for that, just do it in the Find/Change dialog (Edit > Find/Change). And you don't need grep for this (though you can use it), a normal text search will do it too. In the 'Find what' field of the Text tab, enter ^F, then in the 'Change format' panel set the style you want to apply. Then click the appropriate buttons (Find next, Change all, whichever).

    P.