This is what I am trying to do:
I have a file that contains countries, companys and email addresses, I have this file in .doc(MS Word) and .txt format.
I want to parse these information into separate records in a new database.
This is what the text file look like:
<-------------------------
----------
---Text File----------------------
----------
--------->
ALBANIA 4
TOP CHANNEL
1 Mr JAHO Alban, Deputy Director General alban.jaho@top-channel.tv
2 Mr SEJAMINI Neritan, Marketing Director nsejamini@albvizion.com
3 Ms AJAZI Brunilda, Acquisition Manager bajazi@albvizion.com
4 Ms DAKO Vjollca, Assistant General Director vjollca@top-channel.tv
ALGERIA 3
ENTV (TELEVISION ALGERIENNE)
1 Mr HAMRAOUI Habib Chawki, Directeur Gnral
2 Mr BENRABAH Djamel, Directeur des Programmes djamel_benrabah@yahoo.fr
3 Mr KHALLOUF Omar, Department Achats de Programmes
ARGENTINA 16
AMERICA VIDEO FILMS S.A.
1 Mr MAYA Enrique, President america@americavideofilms.
com
ARTEAR S.A.
2 Mr SEQUEIRA Walter, Acquisition Manager walter_sequeira@artear.com
.ar
3 Mr RODRIGUEZ MONTERO Julian, Acquisition Executive julian_montero@artear.com.
ar
AVC TELEVISION SA
1 Mr CIRUZZI Alejandro, CEO y Presidente alexciruzzi@avctelevision.
tv
CENTRAL PARK PRODUCTIONS
1 Mr LECOUNA Raul, President rlecouna@centralparkprod.c
om.ar
4 Mr TOBI Ariel, Buyer arieltobi@telefonica.net
LEDAFILMS S.A.
1 Mr LEDA Pedro Felix, President pedro-leda@ledafilms.com
4 Mrs LISANTI Viviana, Head of Acquisitions vlisanti@ledafilms.com
PROMOFILM SA
2 Mrs CAMPOS Marcela, Head of Contents
4 Mr CONTRERAS Jorge, Head of Programming
5 Mrs DOMINGUEZ Adriana, Acquisitions Executive
RGB ENTERTAINMENT
1 Mr YANKELEVICH Tomas, Development Manager tyankelevich@rgpcorp.com
TELEFE INTERNATIONAL
1 Mrs DAUJOTAS Patricia, Acquisitions Manager pdaujotas@telefe.com.ar
8 Mr VILLARRUEL Claudio, Artistic Director cvillarruel@telefe.com.ar
TELEFILMS S.A.
1 Mr DARCYL Sebastian, President sdarcyl@telefilms.com.ar
2 Mr DARCYL Tomas, tdarcyl@telefilms.com.ar
<-------------------------
-------End
of Text File----------------------
----------
------>
Basically it goes on like this with the rest of the countries, and have 80 pages total.
I want to make a database that parse all these information into separate records based on
Company Name, and contains the following fields:
Company Name (Each records should be about each individual Company)
Country (Which country is this company located)
Email (The first email address that appears under each company)
Contacts (All the contact person's names and email addresses for this company, including the first one)
If you need any clarifications, please ask me, If you can solve part of my problem, please do,
Thank You for reading this question!!!
Start Free Trial