Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2014, 01:25 PM
csongi12xme csongi12xme is offline How to find all numbers that start with a paragraph? Windows 7 64bit How to find all numbers that start with a paragraph? Office 2010 64bit
Novice
How to find all numbers that start with a paragraph?
 
Join Date: Feb 2014
Posts: 7
csongi12xme is on a distinguished road
Default


I want to use Find and Replace to delete page numbers which consists of having 1 to 3 character numbers each in its paragraph.

I also would like to unite the paragraphs above and bellow the page number if the paragraph from bellow starts with a low cap, or point, or ! , ? etc....
Reply With Quote
  #2  
Old 07-21-2014, 11:08 PM
eNGiNe eNGiNe is offline How to find all numbers that start with a paragraph? Windows 7 32bit How to find all numbers that start with a paragraph? Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

Can you post some examples of both cases?
Reply With Quote
  #3  
Old 07-22-2014, 02:30 AM
csongi12xme csongi12xme is offline How to find all numbers that start with a paragraph? Windows 7 64bit How to find all numbers that start with a paragraph? Office 2010 64bit
Novice
How to find all numbers that start with a paragraph?
 
Join Date: Feb 2014
Posts: 7
csongi12xme is on a distinguished road
Default

Sorry, I didn't explained it well.
So they are not page numbers( well, they were before I converted the file from .epub to .doc ).

Example of the second case:

After a shocked pause for a couple of years, one of the
12
clump said: ‘He just went! Just like that! One day he was here, next he was gone!’ If the other trees had been humans, they would have shuffled their feet.

What I want is to delete all numbers in such case ^ (numbers that are a paragraph on their own, not within a a paragraph with text) , and unite the upper and lower paragraph IF the lower paragraph starts with low cap.
Reply With Quote
  #4  
Old 07-22-2014, 02:59 AM
Robert2 Robert2 is offline How to find all numbers that start with a paragraph? Windows 8 How to find all numbers that start with a paragraph? Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 162
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

Try using the following wildcard Find/Replace:
Find:
([!0-9]{1,3})^13[0-9]{1,3}^13
Replace:
\1^32
Reply With Quote
  #5  
Old 07-22-2014, 03:11 AM
csongi12xme csongi12xme is offline How to find all numbers that start with a paragraph? Windows 7 64bit How to find all numbers that start with a paragraph? Office 2010 64bit
Novice
How to find all numbers that start with a paragraph?
 
Join Date: Feb 2014
Posts: 7
csongi12xme is on a distinguished road
Default

Now I have this problem :
https://drive.google.com/file/d/0B3W...it?usp=sharing

It also selects a few chars from the paragraph which is above.
Reply With Quote
  #6  
Old 07-22-2014, 03:42 AM
Robert2 Robert2 is offline How to find all numbers that start with a paragraph? Windows 8 How to find all numbers that start with a paragraph? Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 162
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

Have you tried actually running the replace operation? It should be OK. Word will select the characters preceding the first paragraph end mark, but they will be replaced with themselves, i.e. they won’t be removed (this is done through “\1” in the Replace With box). I successfully tested this wildcard pattern in Word 2007 on the sentence you gave as example.

Note that you can always undo any replace operation through “Ctrl+Z”.

Also note that depending on your system locale and the active list separator, the semi-colons within curly brackets {1;3} might have to be replaced with a simple comma {1,3}.
Reply With Quote
  #7  
Old 07-22-2014, 04:25 AM
Robert2 Robert2 is offline How to find all numbers that start with a paragraph? Windows 8 How to find all numbers that start with a paragraph? Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 162
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

You could try using this simpler pattern:
Find:
^13[0-9]{1,3}^13
Replace:
^32
Reply With Quote
  #8  
Old 07-22-2014, 07:55 AM
csongi12xme csongi12xme is offline How to find all numbers that start with a paragraph? Windows 7 64bit How to find all numbers that start with a paragraph? Office 2010 64bit
Novice
How to find all numbers that start with a paragraph?
 
Join Date: Feb 2014
Posts: 7
csongi12xme is on a distinguished road
Default

Thanks, the first one worked exactly like you said.
I am grateful for your help.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Fields/Paragraph Numbers bigjimslade Word 0 01-27-2014 02:07 PM
Justify Paragraph Start position with VBA jeff_kaufman Word VBA 2 11-09-2013 12:15 PM
How to find all numbers that start with a paragraph? How to force the start of Style Paragraph to be small so that i don't get green under Jamal NUMAN Word 1 07-11-2011 04:58 AM
How to find all numbers that start with a paragraph? Sorting paragraph numbers CommDude Excel 1 01-02-2011 04:38 PM
How to find all numbers that start with a paragraph? displaying start and finish times as absolute numbers instead of dates benson.wallace Project 2 12-05-2010 07:22 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:03 PM.


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