Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Grep for findind footnote references

Participant ,
Oct 16, 2019 Oct 16, 2019

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 🙂

1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 17, 2019 Oct 17, 2019
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines