Jump to content

Recommended Posts

Posted

I received a document where there is a single space in front of each new paragraph. Is there a way to get rid of these automatically rather than hitting backspace at the start of each paragraph?  I googled it and found this formula: ^\s+? but I'm assuming it's for Indesign as it didn't work in Publisher. 

Thanks!1585115719_ScreenShot2020-10-26at9_12_15PM.png.f8af4c5d6df783f2cde55db4e21bb6b9.png

Posted

image.png.2b4d64aa56c98be1f9ad74a96cf3ab64.png

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted

If you're having to press backspace to close up the gaps, the chances are that there are extra return characters between the paragraphs. To check this, pull down the Text menu and choose Show Special Characters:

83403208_Screenshot2020-10-27at08_38_57.png.b1452480f6f7b4ad5c60d9ec42fabe91.png

This will display paragraph breaks as a sort of reversed P::

958238909_Screenshot2020-10-27at08_41_57.png.16fad0820d32f1a06a1535d2c5f57839.png

One at the end of each paragraph, one in between.

To remove them quickly, do a Find and Replace (Cmd-F on Mac, probably Ctrl-F on PC).

In the Find box, click the magnifying glass and choose Special Characters - Paragraph Break:

2043334981_Screenshot2020-10-27at08_44_06.png.66d2973216d9900d5559196a9fab3442.png.

Do this once again in the Find box, and just once in the Replace box, then double-click in the Find box to show results::

1944567341_Screenshot2020-10-27at08_47_07.png.22ce5dba062097cd08df4b691c718105.png

Then click Replace All:

837994399_Screenshot2020-10-27at08_49_17.png.99bbac36880e04348fc018a28bb3d7cd.png

This has removed my double paragraph breaks, but I still have space between the paragraphs because my text styles are set up that way. If you need to remove more space, or the above doesn't work, post back.

Cheers,

H

Affinity Photo 2.6.3,  Affinity Designer 2.6.3 Affinity Publisher 2.6.3, Mac OSX 15.5, 2018 MacBook Pro 15" Intel.

Posted
18 minutes ago, h_d said:

This has removed my double paragraph breaks

That's nice, but OP needs something completely different.

4 hours ago, cbordey said:

a single space in front of each new paragraph

The mentioned regex command works reliably for this.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
16 minutes ago, Pšenda said:

That's nice, but OP needs something completely different.

The mentioned regex command works reliably for this.

:$

Affinity Photo 2.6.3,  Affinity Designer 2.6.3 Affinity Publisher 2.6.3, Mac OSX 15.5, 2018 MacBook Pro 15" Intel.

Posted
53 minutes ago, h_d said:

This will display paragraph breaks as a sort of reversed P::

This 'reversed P' is know as a Pilcrow.

John

Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo).

CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB  DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050

Posted

You are welcome.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted

No probs @cbordey, sorry I misunderstood your original post.

Affinity Photo 2.6.3,  Affinity Designer 2.6.3 Affinity Publisher 2.6.3, Mac OSX 15.5, 2018 MacBook Pro 15" Intel.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.