Re: Email Validation Question, Possible RegEx required?

2008-01-14 Thread Ben Doom
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:

Email Validation Question, Possible RegEx required?

2008-01-13 Thread Nate Willard
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

Re: Email Validation Question, Possible RegEx required?

2008-01-13 Thread s. isaac dealey
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...

RE: Email Validation Question, Possible RegEx required?

2008-01-13 Thread William Seiter
, 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

Re: Email Validation Question, Possible RegEx required?

2008-01-13 Thread Sonny Savage
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)