cbordey Posted October 27, 2020 Share Posted October 27, 2020 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! Quote Link to comment Share on other sites More sharing options...
Pšenda Posted October 27, 2020 Share Posted October 27, 2020 cbordey and Alfred 2 Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. 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. Link to comment Share on other sites More sharing options...
h_d Posted October 27, 2020 Share Posted October 27, 2020 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: This will display paragraph breaks as a sort of reversed P:: 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: . 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:: Then click Replace All: 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 cbordey 1 Quote Affinity Photo 2.0.3, Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel. Link to comment Share on other sites More sharing options...
Pšenda Posted October 27, 2020 Share Posted October 27, 2020 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. Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. 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. Link to comment Share on other sites More sharing options...
h_d Posted October 27, 2020 Share Posted October 27, 2020 16 minutes ago, Pšenda said: That's nice, but OP needs something completely different. The mentioned regex command works reliably for this. Quote Affinity Photo 2.0.3, Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel. Link to comment Share on other sites More sharing options...
John Rostron Posted October 27, 2020 Share Posted October 27, 2020 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 Alfred 1 Quote Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630 Link to comment Share on other sites More sharing options...
cbordey Posted October 31, 2020 Author Share Posted October 31, 2020 Yes, it worked! Thanks @Pšenda, you just saved me a boatload of time and headache!! @h_dI'm sure you're tips will come in handy as well as I move through this project! h_d 1 Quote Link to comment Share on other sites More sharing options...
Pšenda Posted October 31, 2020 Share Posted October 31, 2020 You are welcome. Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. 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. Link to comment Share on other sites More sharing options...
h_d Posted October 31, 2020 Share Posted October 31, 2020 No probs @cbordey, sorry I misunderstood your original post. Quote Affinity Photo 2.0.3, Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel. Link to comment Share on other sites More sharing options...
Recommended Posts
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.