#1   Report Post  
Posted to microsoft.public.word.docmanagement
NHMM NHMM is offline
external usenet poster
 
Posts: 2
Default 'Smart' Deletion

I have a word report generated by external software that is rediculously
long. There are portions of the report that we would like to remove. Below is
a tiny snipit of how the report is set up:

E13 GR 0.000 -0.002 -0.002 -0.011 0.010 -0.001

T1 -0.020 -0.033 0.001 0.002 -0.006 0.088

T2 0.011 -0.004 -0.004 -0.008 -0.001 -0.012


+1 GR 0.000 -0.002 -0.001 -0.010 0.009 -0.001

T1 -0.011 -0.029 0.000 0.002 -0.005 0.088

T2 0.010 -0.003 -0.003 -0.008 -0.001 -0.011


+2 GR 0.000 -0.002 -0.001 -0.009 0.009 0.000

T1 -0.002 -0.025 0.000 0.002 -0.005 0.087

T2 0.008 -0.003 -0.002 -0.007 -0.001 -0.010

E1 0.010 0.003 -0.002 -0.006 -0.004 -0.033

E2 0.006 0.001 -0.011 -0.039 -0.005 -0.021

E3 -0.009 -0.002 0.001 -0.002 0.007 0.029


ALL of the sections I want to remove begin with a "+" followed by a number.
The actual number changes and the number of rows to remove are different
depending on which section it exists in. The only ending parameter I can
think of so far is an enpty line (two carriage returns in a row) before the
next section begins.

If anyone has any ideas I would greatly appreciate it. Otherwise I am going
through a 6600 page report by hand.

Thanks
NHMM
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default 'Smart' Deletion

A wildcard replacement (explained at
http://www.gmayor.com/replace_using_wildcards.htm) can do this.

In the Replace dialog, click the More button and then check the 'Use
wildcards' option. Type this in the Find What box:

+[0-9]*^13^13

(include a space character at the beginning of the expression if that
actually occurs in your document the way it appears to occur in the
sample you showed). Leave the Replace With box blank, and click the
Replace All button.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Fri, 31 Aug 2007 11:06:02 -0700, NHMM
wrote:

I have a word report generated by external software that is rediculously
long. There are portions of the report that we would like to remove. Below is
a tiny snipit of how the report is set up:

E13 GR 0.000 -0.002 -0.002 -0.011 0.010 -0.001

T1 -0.020 -0.033 0.001 0.002 -0.006 0.088

T2 0.011 -0.004 -0.004 -0.008 -0.001 -0.012


+1 GR 0.000 -0.002 -0.001 -0.010 0.009 -0.001

T1 -0.011 -0.029 0.000 0.002 -0.005 0.088

T2 0.010 -0.003 -0.003 -0.008 -0.001 -0.011


+2 GR 0.000 -0.002 -0.001 -0.009 0.009 0.000

T1 -0.002 -0.025 0.000 0.002 -0.005 0.087

T2 0.008 -0.003 -0.002 -0.007 -0.001 -0.010

E1 0.010 0.003 -0.002 -0.006 -0.004 -0.033

E2 0.006 0.001 -0.011 -0.039 -0.005 -0.021

E3 -0.009 -0.002 0.001 -0.002 0.007 0.029


ALL of the sections I want to remove begin with a "+" followed by a number.
The actual number changes and the number of rows to remove are different
depending on which section it exists in. The only ending parameter I can
think of so far is an enpty line (two carriage returns in a row) before the
next section begins.

If anyone has any ideas I would greatly appreciate it. Otherwise I am going
through a 6600 page report by hand.

Thanks
NHMM

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
End note deletion Frustrated Microsoft Word Help 2 February 25th 07 06:04 PM
Document deletion WisconsinSteve Microsoft Word Help 2 August 31st 06 06:19 PM
Confirmation of Deletion Jeff Bendert Microsoft Word Help 2 January 20th 06 06:15 AM
address deletion Zifmax Microsoft Word Help 1 January 17th 06 02:33 PM
deletion within a document pugdeb Microsoft Word Help 3 January 28th 05 10:59 PM


All times are GMT +1. The time now is 02:30 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"