View Single Post
  #1   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Stephen K. Miyasato Stephen K. Miyasato is offline
external usenet poster
 
Posts: 1
Default Find and replace, insert tab before

I trying to parse this into a database and was trying to use the find and
replace to insert tab characters such that I can then programmatically parse
the data. This is a rtf file that has Indenting to indicate a sub field. For
example, Aberrant is the main topic. Adrenal gland is a subtopic and under
the paragraph heading Indentation is 0.25, Hanging by 0.5, the main topic is
left 0 hanging 0.75, the third subtopic is indent 0.5 hanging indent 0.5

Abduction contracture, hip or other joint - see Contraction, joint

Abercrombie's syndrome (amyloid degeneration) 277.3

Aberrant (congenital) - see also Malposition, congenital indent 0
hanging 0.75

adrenal gland 759.1 indent 0.25, Hanging indent 0.5 style
H2

blood vessel NEC 747.60

arteriovenous NEC 747.60

cerebrovascular 747.81 indent 0.5 hanging indent 0.5 style H3

gastrointestinal 747.61

lower limb 747.64

renal 747.62

spinal 747.82

upper limb 747.63

breast 757.6

endocrine gland NEC 759.2



I tried using format and got it to find the line. I want to insert a tab ^t
before each subheading and two tabs on the third heading. The idea is such
that I can insert each into a field in the database.



When I initially tried to import it, the conversion would not recognize the
paragraph markers.



I tried using XML but this caused errors .



You can download the file from here.

http://ftp.cdc.gov/pub/Health_Statis...5/dindex06.zip



Any help appreciated.



Stephen K. Miyasato
Word 2003