#1
|
|||
|
|||
how to replace a full paragraph with blanks?
as above.
i have 2 scenarios needing help. 1. I want to remove multiple paragraphs in a document repeating the same thing. for instance, i want to remove : answer - this is Jake and he likes to play basketball. and replace it with NOTHING (not even a space). how do i use the find and replace function to eliminate all the paragraphs with those words? it seems to take in words only instead of paragraphs. 2. i want to remove paragraphs which start with a particular word. E.g. Answer 1 : Jake is a boy Answer 2 : Joe likes to play. Any PARAGRAPH that starts with 'Answer' should be automatically removed. how do i do it? Thanks in advance! |
#2
|
|||
|
|||
anybody has a solution (or at least a best alternative)?
|
#3
|
|||
|
|||
anyone????
|
#4
|
|||
|
|||
help please
|
#5
|
||||
|
||||
For 1, a simple Find/Replace should be able to do it. All you need to do is to input the text to be deleted into the Find dialogue. Just make sure to not delete the one you want to keep.
For 2, a wildcard Find/Replace should be able to handle it, where: Find = Answer[!^13]{1,}^13 In both cases, leave the Replace box empty.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#6
|
|||
|
|||
Quote:
the 2nd wildcard format didn't work - it made 0 replacements. another problem i have is : e.g. question A question B question C i want to turn it to : question A question B question C but using find/replace with ^p in find box, i get : question Aquestion Bquestion C what should be the correct function then? |
#7
|
||||
|
||||
Quote:
Quote:
Find = [^13]{2,} Replace = ^p
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#8
|
|||
|
|||
Quote:
this [Find = [^13]{2,}] does not work too - it collapses everything into one line. i.e. question Aquestion Bquestion C |
#9
|
||||
|
||||
Both work fine for me when input as specified for the content you posted. The 'collapsing' suggests you forgot the Replace expression.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mail Merge in Word: creating a rule for blanks | cgranada | Mail Merge | 6 | 02-27-2017 09:08 AM |
Find bullets and replace with paragraph style? | cdybdahl | Word | 1 | 12-02-2011 02:14 AM |
fill blanks in box | keevitaja | Word | 1 | 05-23-2011 06:34 PM |
counting occurences of a value in a range but not including 0's nor blanks | virsojour | Excel | 0 | 07-05-2010 01:34 AM |
using word/able to fill blanks w/o moving rest | Rath | Word | 3 | 03-07-2009 08:46 AM |