I wonder if anyone could make a suggestion how i achieve the following?
I have a regex which suffices in the validation of email addresses which is as follows:
^(\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}\b)*$
Its a loose validator but as i said, it suffices for what we need. What I need to do if possible is validate on the following criteria:
1) validate email addresses based on the above format 2) if not an email address as above, check if value is N/A or n/a
Appreciate anyones help,
Thanks
Jon