Copy link to clipboard
Copied
Hi,
I am working on a document which consists of many footnotes, wherein, a footnote reference might be at the start of a word:
I am trying to use GREP to find any footnote reference marker preceded as well as followed by any character (letter, punctuation, period or any other character) except for space.
I shall be grateful if anyone could help me with its GREP guery.
Thanks & Regards,
Aman
Does the following help
(?<!\s)~F(?!\s)
-Manan
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi Manan,
Thank you for taking out the time, and replying to the post. Much appreciated.
Grep suggested by you takes helps in finding all footnotes reference markers preceded by any character except space. Suggested GREP is capturing all footnotes preceded by any character except space, and followed by space:
It definitely helps in finding references without space at the beginning. I usually work with documents having 500+ footnotes. Is it possible to further extend the GREP such that it is able to find all footnotes markers preceded as well as followed by any character except space?
Thank you so much for the help!
Regards,
Aman
Copy link to clipboard
Copied
Does the following help
(?<!\s)~F(?!\s)
-Manan
Copy link to clipboard
Copied
Hi,
Worked like a charm! Amazing, you are.
Thank you so much for helping me out with this! Much appreciated.
Regards,
Aman
Copy link to clipboard
Copied
Hi,
Worked like a charm! Amazing, you are!
Thank you so much for helping out. Much appreciated.
Regards,
Aman