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 7279141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:59:43+00:00 2026-05-28T22:59:43+00:00

My idea is to use a textarea to let the user copy email name

  • 0

My idea is to use a textarea to let the user copy email name address etc…. to it.
The copied data must have delimiter between each value.

However, my questions are:

  1. How can i detect the delimiter used in copied data?
  2. How to manipulate? Store each into different array according to the location? but what if there is some error between eg. if one row has one more entry eg. email name address adress2 when other are email name address

Actually i am doing some process from outlook express export txt file or data copied from excel sheet

For those outlook express export file, there are some spacing for each email that without name .So the problem is occur eg.

aa@aa.com name1 bb@bb.com cc@cc.com name2


Thanks for your kindly help.

  • 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-05-28T22:59:59+00:00Added an answer on May 28, 2026 at 10:59 pm

    You would use explode for this (http://php.net/manual/en/function.explode.php).
    If you can ask the users to enter each piece of data on a new line, you can then split the textarea contents by the \n character:
    e.g.

    $myarray = explode("\n", $textarea_str);
    

    Then each element of the array can be split by the delimiting comma:

    foreach ($myarray as $row)
         $eachline[] = explode(",", $row);
    

    Then validate the individual items that you’ve extracted from the delimited data as if they have come individually.

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

Sidebar

Related Questions

Is it a bad idea to use an email address as the salt for
I want to use TextArea as an inputStream.Anyone have idea how this can be
I have an insane idea: use .hta file as the gui front end of
I don't have any idea how to use this class in .net. Anyone wants
I have an idea for a functional programming language design that makes heavy use
what are popular repo indices i should configure Idea to use? i have: http://repo1.maven.org/maven2
Which file in Android project does IDEA use to display project name in Recent
Is it a good idea to use MongoDB in .NET desktop application?
When is it a good idea to use something like CRDT instead of paxos
Ok, I've read the articles about why it's a better idea to use an

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.