Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8264245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:23:08+00:00 2026-06-08T04:23:08+00:00

Ok , Here is the thing i want a php script to Open and

  • 0

Ok , Here is the thing i want a php script to Open and read a user uploaded Word document and take the email addresses that will be in the document and store it to database .

Only the email address ! it will be mixed up like

Email : someone@example.com or like “Email is someone@example.com”

Any format .. One thing for sure is there will be space seperating email id and other words . Can someone help me ? 😀

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:23:09+00:00Added an answer on June 8, 2026 at 4:23 am

    This is a bit broad really. Fundamentally, you need to handle these steps:

    Upload the word document

    You’ll need to let users upload a file. There’s a tutorial at w3schools which should get you started

    Parse the contents

    Office files are complex – each one is technically an entire file system as you can embed images, other documents, etc… The new .docx are actually just zip files with some XML – try renaming one to .zip and opening it. The old-style .doc is a proprietary MS format and while equally complex is far more obfuscated. This library appears to convert word files to html which may make reading them a lot easier.

    Find the email address

    I suspect your best chance here is to use a regex to extract the email address from the body. What about if there are multiple email addresses? Here’s an introduction to email regexes which may be of some help. This answer is for the same thing

    For a more detailed answer, you’re going to have to provide a more specific question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some doubt on wget command. Here is the thing I want to
The thing I want to know here should be really 'basic', but it is
And what if you want to autocomplete passwords? I am using similar thing here...
I have written a xml/php document that is pulling from a Magento Commerce database,
I am creating a php script that would be called as a cron job.
I have a mobile script from detectmobilebrowsers.com that will redirect the user to my
I'm trying to set up a PHP script to read a handful of MySQL
i want to read an xml file in flash that is returned from a
I have a table that's generated by a normal PHP loop. What I want
I want a good solution for next and previous in a php script. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.