Skip to main content
AvRog
Participant
June 11, 2024
Answered

Paragraph markers where a space required

  • June 11, 2024
  • 2 replies
  • 178 views

Hi All, I pasted from a PDF document into Frame. There are many paragraph markers where I would like to put a space and join the 2 paragaraphs.

Is there a way to do this globally without replacing the paragraph markers that are supposed to be there?

Any help appreciated

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer frameexpert

    You can try this. It basically says, find any word character (and capture it with parenthesis), followed by a return and replace it with the captured character, followed by a space. (There is a single space character after the $1.) This will ignore paragraphs that end with punctuation.

     

    2 replies

    frameexpert
    Community Expert
    frameexpertCommunity ExpertCorrect answer
    Community Expert
    June 11, 2024

    You can try this. It basically says, find any word character (and capture it with parenthesis), followed by a return and replace it with the captured character, followed by a space. (There is a single space character after the $1.) This will ignore paragraphs that end with punctuation.

     

    www.frameexpert.com
    Jeff_Coatsworth
    Community Expert
    Community Expert
    June 11, 2024

    Yes, via Regular Expressions - but RegEx has always involved sacrificing a chicken or goat for me to work. Others (way more proficient in this Dark Art (@Barb_Binder )) may be able to better help.😂