![]() |
#1
|
|||
|
|||
![]()
I have a document and many lines have just a number on them and I want to delete these numbers. They are not the same number, and there are numbers on lines with other text that I do not want to delete.
I tried using find and replace with wildcard elements to find the numbers, but one cannot use new paragraph codes with a wildcard search. I can't figure out how to find the numbers that are on a line by themselves and exclude numbers that are on lines with text. If this is possible, please clue me in; many thanks! |
#2
|
||||
|
||||
![]()
Try a wildcard Find/Replace with:
Find = ^13[0-9]@^13 Replace = ^p If the are consecutive paragraphs with just numbers in them, you might need to 'Replace All' a few times to get them all.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
![]()
One can
![]() It's the ^13 in macropod's post, that replaces ^p in wildcard mode. |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Pauliina | Word | 4 | 05-24-2018 10:01 PM |
![]() |
DavidL | Word VBA | 7 | 04-04-2018 12:01 AM |
How to find number of coma and then add that number of rows in word using macro? | PRA007 | Word VBA | 7 | 05-27-2015 10:45 PM |
![]() |
Allen | Word | 5 | 11-20-2014 10:33 PM |
![]() |
jcw | Word | 1 | 11-18-2011 11:47 AM |