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

GREP find replace help

Participant ,
Aug 17, 2023 Aug 17, 2023

I want GREP to put hard return before [space]anydigit.[space]

I'm working on a job with 129 footnotes that are all running-in together, that is: No line breaks.
I made a Find/Replace command that looks like:

 

Find:  \d. 

Replace:\r\d. 

 

It finds the places where I have to break the lines, but it is replacing my footnote numbers with the characters " \d "
Does anyone know how I can keep the character but get a hard return before it?

Thanks in advance!

 

TOPICS
How to , Type
152
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 ,
Aug 17, 2023 Aug 17, 2023
LATEST

So you aren't using InDesign's footnote feature that has all the formatting controls you will likely ever need, including controls on the space between footnotes?

 

If you typed up this list of notes manually, try

F: (\d+)

R: \r$1

 

~Barb

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