Solved

find and replace unformatted subparagraph headings

Posted on 2010-08-18
5
353 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 125 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

There is a feature provided by MS Word that lets you create an Table of Contents for your Word document automatically. To use this feature for other documents there are two steps involved,   1.  Prepare your document for a table of contents (he…
It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
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 …

733 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