?
Solved

find and replace unformatted subparagraph headings

Posted on 2010-08-18
5
Medium Priority
?
362 Views
Last Modified: 2012-05-10
I have a Word 2007 document that has been reformatted.  The document previously contained subparagraph headings (ie sentences that were started with (a), (b), (i), (ii)).  When I applied the new style these old subparagraph headings have been retained as part of the original sentence and the new formatting has added another heading (ie there is now two (a)'s).  Is there away that I can find these instances quickly in the document and then remove them.
0
Comment
Question by:rrogerson
  • 2
4 Comments
 
LVL 77

Expert Comment

by:GrahamSkan
ID: 33462731
Can I suggest that you post a sample, so that we can be sure of the layout that you are describing?
0
 
LVL 10

Expert Comment

by:Smart_Man
ID: 33462736
would be ok to use vba ?
 
like here
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Word/Q_23054259.html
 
 
or maybe try this
 
http://answers.yahoo.com/question/index?qid=20100524024640AAM8IaW
 
waiting your reply.
 
thank you for your time,
0
 

Author Comment

by:rrogerson
ID: 33472738
Thanks.  I am not familar with VBA but here is a sample of the Word document

(a)      (a)apply .....
(b)      (b)entitle ......
(c)      (c)in ........
0
 
LVL 77

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 33473034
An actual document would have been more useful.

I copied and pasted your example into a Word document and did a wildcard Find and replace to produce this:

(a)apply .....
(b)entitle ......
(c)in ....

Find: (\([a-z]{1,}\))*\([a-z]{1,}\)

Replace: \1
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question