#1
|
|||
|
|||
Need Help to Find a Number and replace
Hello Everyone
I have a set of document in Which every sentence is numbered Eg 1 today is monday.2 I need to go to work.3 My office is situated at the northeast of NY.4 I am stuck in a traffic I want to break the sentence when it starts with a number. I Need to split the sentences as below. Eg 1today is monday. 2I need to go to work. 3My office is situated at the northeast of NY 4I am stuck in a traffic I have more than 900 pages of document. Help is much appreciated. Thanks in advance. Allen |
#2
|
||||
|
||||
You can do this with a wildcard Find/Replace, where:
Find = ([!0-9 ][.\?\!])([0-9]) Replace = \1^l\2
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Thank you for your reply Paul
It's not working. Prompt message : Search item was not found. |
#4
|
||||
|
||||
Did you check the 'use wildcards' Option? If so, your document's content evidently differs from your post. In that case, please attach a document to a post with some representative data (delete anything sensitive). You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Yes. I have checked the wildcards option. I have attached the document. Kindly check
|
#6
|
||||
|
||||
Your document's content is nothing like what you described in your post!
Your post describes sentences terminate by periods, with a number immediately following and a space between that and the following text. Your document has non-breaking spaces instead of periods and no spaces between the numbers and the following text. How you could expect a working solution when your problem description is so far off the mark is a mystery. For the document you have attached, you can do this with a wildcard Find/Replace, where: Find = ^s([0-9]@[A-Z]) Replace = .^l\1
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
replace number with formatted number | antoniob | Word | 5 | 06-17-2014 02:32 PM |
Find what box in Find and replace limits the length of a search term | Hoxton118 | Word VBA | 7 | 06-10-2014 05:05 AM |
Find/Find and Replace Loop | Tango Mike | Word | 3 | 04-20-2014 02:47 PM |
Bad view when using Find and Find & Replace - Word places found string on top line | paulkaye | Word | 4 | 12-06-2011 11:05 PM |
Help with find and replace or query and replace | shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |