?
Solved

find and replace unformatted subparagraph headings

Posted on 2010-08-18
5
Medium Priority
?
356 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 76

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 76

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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
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 shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

762 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