Solved

find and replace unformatted subparagraph headings

Posted on 2010-08-18
5
354 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
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 …
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

688 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