Once you've broken the list into individual elements, I'd use something
like:
email = rereplace(element, '.*(.*?)', '\1')
This replaces everything before the open bracket, the open bracket, and
the end bracket with just what is in between the brackets.
--Ben Doom
Nate Willard wrote:
Morning,
I'm currently working to add an address book importer
(PLAXO) to a site. The address book importer returns
the emails in the input box as follows: FNAME LNAME
[EMAIL PROTECTED], FNAME LNAME [EMAIL PROTECTED],
FNAME LNAME [EMAIL PROTECTED],
I'd like to come up with a way to take that
I'm currently working to add an address book importer
(PLAXO) to a site. The address book importer returns
the emails in the input box as follows: FNAME LNAME
[EMAIL PROTECTED], FNAME LNAME [EMAIL PROTECTED],
FNAME LNAME [EMAIL PROTECTED],
I can think of a couple of ways to attack this...
, 2008 9:51 AM
To: CF-Talk
Subject: Email Validation Question, Possible RegEx required?
Morning,
I'm currently working to add an address book importer
(PLAXO) to a site. The address book importer returns
the emails in the input box as follows: FNAME LNAME
[EMAIL PROTECTED], FNAME LNAME [EMAIL
Is this along the lines of what you were thinking of?
!--- Email Validation - regex from:
http://www.regular-expressions.info/email.html ---
cfset EmailList = 'FNAME LNAME [EMAIL PROTECTED], FNAME LNAME
[EMAIL PROTECTED], FNAME LNAME [EMAIL PROTECTED]'
cfset EmailArray = ListToArray(EmailList)
5 matches
Mail list logo