Solved

Convert Word docs to simple text file

Posted on 2008-10-14
3
269 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
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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 …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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