Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2022, 08:40 AM
laith93 laith93 is offline Find and replace only paragraph marks in blank line Windows 10 Find and replace only paragraph marks in blank line Office 2019
Competent Performer
Find and replace only paragraph marks in blank line
 
Join Date: Jul 2021
Posts: 117
laith93 is on a distinguished road
Default Find and replace only paragraph marks in blank line


Hi,
I want to search for paragraph marks only in blank lines which are not followed by any character or words and replace it with nothing (look at this image)
15.png
I tried ^p and ^13, but also replace paragraph marks followed by a character or words, so the name and group (A1) will be in the same line (Match whole word is disabled), but I want the name in line and the group in followed line.
Thanks

Last edited by laith93; 04-27-2022 at 11:12 AM.
Reply With Quote
  #2  
Old 04-27-2022, 11:20 AM
wiganken wiganken is offline Find and replace only paragraph marks in blank line Windows 11 Find and replace only paragraph marks in blank line Office 2019
Expert
 
Join Date: Jul 2018
Posts: 279
wiganken will become famous soon enough
Default

I don't know how to do it using Find and Replace but the leading pilcrow can be removed whilst still pushing the text down as per column 1 if that is the effect you are after. See photo.

Column 1 has the leading pilcrow before Name1 but column 2 has no leading pilcrow.
Attached Images
File Type: png No leading pilcrow.png (25.1 KB, 20 views)
Reply With Quote
  #3  
Old 04-27-2022, 11:34 AM
laith93 laith93 is offline Find and replace only paragraph marks in blank line Windows 10 Find and replace only paragraph marks in blank line Office 2019
Competent Performer
Find and replace only paragraph marks in blank line
 
Join Date: Jul 2021
Posts: 117
laith93 is on a distinguished road
Default

Quote:
Originally Posted by wiganken View Post
Column 1 has the leading pilcrow before Name1 but column 2 has no leading pilcrow.
Dear wiganken, I have more than 16 table with student names, each table contains more than 50 students, Now, I completed two tables by manual deleting the leading pilcrow, but it takes too much time, and I have been tired.
Reply With Quote
  #4  
Old 04-27-2022, 12:15 PM
Robert2 Robert2 is offline Find and replace only paragraph marks in blank line Windows 10 Find and replace only paragraph marks in blank line Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 174
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

Try the following Wild Card Find/Replace:
Find=(^13)(<*>^13)
Replace=\2
Reply With Quote
  #5  
Old 04-27-2022, 12:18 PM
laith93 laith93 is offline Find and replace only paragraph marks in blank line Windows 10 Find and replace only paragraph marks in blank line Office 2019
Competent Performer
Find and replace only paragraph marks in blank line
 
Join Date: Jul 2021
Posts: 117
laith93 is on a distinguished road
Default

Quote:
Originally Posted by Robert2 View Post
Try the following Wild Card Find/Replace:
Find=(^13)(<*>^13)
Replace=\2
Thanks so much dear Robert
It works perfectly
Best Regards
Reply With Quote
Reply

Tags
find & replace, find replace;wildcards, word 19



Similar Threads
Thread Thread Starter Forum Replies Last Post
a macro to replace paragraph mark with a space applies effect on paragraph marks after the selection drrr Word VBA 2 08-24-2021 03:05 AM
syntax for inserting blank line before inserting table and after a line or paragraph SamDsouza Word VBA 8 08-04-2019 11:10 PM
Find and replace only paragraph marks in blank line Replace paragraph-marks (line-breaks) in tables with a character-string Aztec Word VBA 2 04-02-2013 10:52 PM
Find and replace only paragraph marks in blank line Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Find bullets and replace with paragraph style? cdybdahl Word 1 12-02-2011 02:14 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft