Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Fetching email ids from normal text

807588Jun 17 2009 — edited Jun 17 2009
Hello,

There is a text area where the users are supposed to enter email addresses. There are no rules for more than one email address being entered. The user might also type in the names along with the mail address ala outlook.
I think I will need to check from one space to the other with an @ sign in between.

Could you please help me in finding a solution to fetching emails from randomly entered text ?
I think regex might help.. but I dont know. I have tried to find this on google, I was only lead to a PHP inbuilt function which does this find_emails.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2009
Added on Jun 17 2009
6 comments
388 views