Solved

Convert Word docs to simple text file

Posted on 2008-10-14
3
274 Views
Last Modified: 2008-10-31
How do I read a word file then convert the word file to a simple text file.  This would strip out all of the Word special characters etc?

The result would be a clean text file much the same as when you paste a word doc into notepad.
0
Comment
Question by:vstack
[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
3 Comments
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 22711283
How about using Automation to have Word save the file as text?
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 22711380
Automation on a server (especially on a web server) is a really bad idea!

I use http://www.aspose.com/categories/file-format-components/aspose.words-for-.net-and-java/default.aspx
0
 

Author Comment

by:vstack
ID: 22726173
Sorry, I haven't responded.  Family emergency.  Automation won't work for me.  We have a ton of Word files with data (in sections of the files) that needs to be put into a database.  I was thinking of running a script that uploads the word file. Converts it to text (strips out Word special characters) and leaves me with a clean text file.  Now I can read the part I need and send to db.

Checking out the aspose article
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

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