Title |
Test
Find
Validate a 3 field CSV file
|
Expression |
^(([^,\n]+),([^,\n]+),([^@]+)@([^\.]+)\.([^,\n]+)\n)+([^,\n]+),([^,\n]+),([^@]+)@([^\.]+)\.([^,\n]+)\n?$ |
Description |
This pattern validates a 3 field CSV file. I designed it to capture first name, last name and email address in that order. |
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
Mark Newman
|
Source |
|
Your Rating |
|
Title: WRONG WRONG WRONG
Name: Randal L. Schwartz
Date: 12/30/2006 2:16:03 AM
Comment:
Once again, a regex that DOES NOT MATCH EMAIL ADDRESSES.
Please read RFC822.
Please read RFC2822.
{sigh}