Closed

Script to convert to text file - repost

Requirements are that I need to loop through all MS Word documents in a directory to include all sub-directories.  That will include older (doc) and newer (docx) file types.  For each document a search must be conducted for a defined variable string (“WORD 1:”, “Word 1:”, or “W1:”).  If the search string is present, it must extract all “Word 1:” variances fields and write them out to a plain text file named the same as the source document.  Another possibility would be to write everything to the plain text file and then script the deletion of the non-wanted parts. 

 

File “[url removed, login to view]” contents:

 

------------Start of file--------------

The file was created on the date listed…

 

Word 1: Statements typed here are the ones that are wanted. There is no preset length to this field and may range from between one line and ten to twenty. 

 

Word 2: Nothing from these sections needs to be saved.

 

Word 1: More information that is needed can be found here.

 

Word 2: Again, these lines will be excluded.

 

Word 1: Once all of these fields are captured the file can be closed.

 

Word 2: Everything in the word 2 fields are not wanted.

------------End of file--------------

 

A plain text file named “[url removed, login to view]” needs to be created and should contain the following:

 

------------Start of file--------------

Word 1: Statements typed here are the ones that are wanted. There is no preset length to this field and may range from between one line and ten to twenty. 

 

Word 1: More information that is needed can be found here.

 

Word 1: Once all of these fields are captured the file can be closed.

------------End of file--------------

 

The original file is to be left intact and unchanged.  I am interested in getting input as to what thoughts are on the best and easiest way to accomplish this?  There is NO limitation to native Windows (XP/7) capabilities.  Additional software can be added to the system.  The only limitation is it must be a Windows application.  No colinux or Linux OS or anything along those lines.  If it can be loaded on the Windows OS I may consider it. A VBScript may be the easiest

Skills: Anything Goes, Microsoft, Perl, Shell Script, Windows Desktop

See more: what is search string, text to string, text string search, search text string, text file, native script, extract text docx, convert line, loop script linux, write linux script, word text windows, directory convert application, convert word document file, search file system windows search, vbscript word document, extract word text file, linux docx, convert windows application linux, write file native, vbscript convert, native windows, docx linux convert, convert documents, doc plain text, vbscript word fields

About the Employer:
( 0 reviews ) India

Project ID: #5129790

16 freelancers are bidding on average $33 for this job

mhmhz

Hi I could provide a C# desktop application to fulfill the requirements. for quick response, my skype: heggooo

$44 USD in 3 days
(144 Reviews)
6.6
gangabass

Hi, I can provide you complete solution in less than a hour because I have worked on same project some time ago. Thanks. Roman

$30 USD in 0 days
(174 Reviews)
6.0
expertcoder1vw

I can deliver a windows application to do this for you. It will work on all Windows versions. Bests, Larry

$126 USD in 3 days
(29 Reviews)
5.1
PulseLab

Hi, As you may be aware, .docx files are essentially unpackable to a set of inter-related XML files, and so these can be parsed reasonably easily to get the plain text content of the file, if you know how to read th More

$111 USD in 3 days
(2 Reviews)
3.3
mleo1

A proposal has not yet been provided

$60 USD in 3 days
(1 Review)
1.7
CARLOSHUGGINS

Hi I'm a VBA professional... I will deliver high quality results... I will use VBA using Microsoft WORD technology... this will guarantee functionality and speed.... thanks for considering my proposal... I will like t More

$55 USD in 5 days
(1 Review)
1.6
conradoferreira

We can perform this task using VbScript. It is a simple task, we need just talk about all requirements and I'll deliver to you a great job.

$25 USD in 3 days
(0 Reviews)
0.0
prabhakaran89

I have good knowledge and experience on perl programming.I have developed application by interacting with ms office files(MS WORD,EXCEL) so i can deliver this in two days by using windows ole packages or other perl mod More

$10 USD in 2 days
(0 Reviews)
0.0
arasu84

A proposal has not yet been provided

$20 USD in 3 days
(0 Reviews)
0.0
rtaromax

A proposal has not yet been provided

$10 USD in 1 day
(0 Reviews)
0.0
tuxnani

A proposal has not yet been provided

$10 USD in 3 days
(0 Reviews)
0.0
kurumii

Hi, I have done a demo using Python 2.7 and only on docx file and output to text file on the sample you gave. you can download the demo here: www.mediafire.com/?j0y7qjmpa7dldw7 Unzip the file into a directory Insi More

$25 USD in 2 days
(0 Reviews)
0.0
RalucaGreen

Hi! My name is Raluca. I am a new freelancer who wants to gain experience and a little money. I will make a small C# Windows Form Application, with a simple GUI: - a textbox to write a folder to search all the doc More

$30 USD in 0 days
(0 Reviews)
0.0
ltoglenn13

- Project already completed, ready to be delivered - 2 free additional modification for items not specified in specs

$28 USD in 0 days
(0 Reviews)
0.0
rajeevkattepura

Hi, The described problem can be solved in 2 ways 1. Using the perl script can browse through the directories and files and search using the regular expression for the given string 2. The VB script is also a best More

$25 USD in 3 days
(0 Reviews)
0.0
kiaanpillay

I am very capable of completing this task and will be able to do so very promptly and create a user friendly GUI. I am available full time and will work for extremely cheap as I am trying to increase my reputation on t More

$15 USD in 0 days
(0 Reviews)
0.0
Sithsu

I can provide a simple .bat script to do whats required. You will need to install a particular Windows application for the .bat file to work. This app is a commercial one, but if this is a one time job, the trial versi More

$25 USD in 1 day
(0 Reviews)
0.0