?
Solved

Convert Word docs to simple text file

Posted on 2008-10-14
3
Medium Priority
?
278 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 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
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…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

801 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