Expand email reg exp to allow only ; delimiter

I use the Regular Expression
resourced from  http://www.regexlib.com which works great.

I want to adapt  this to vlidate a sctring of emailaddress delinited by ;. So it would pass
 but not

So an optional [;] but how I can I ensure no other delimiters?

Thanks, Tom.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


- The most important part is: (?:$|\;) . I just make sure that each e-mail address ends with EOL or ';' delimeter.
- \w is the word character: [a-zA-Z_0-9]
- \d is the digit character: [0-9]
- I use (?:X) as a non-capturing group. Remove all "?:" strings to get more readable (but also slower and more memory-consuming) version.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
boardtcAuthor Commented:
Thanks for the post. Unfortunately the regex falvour I use (TRegExpr for Delphi - http://regexpstudio.com/) gives the error : TRegExpr(comp): Unrecognized Modifer (pos 33) I'm not sure if it's the interval quantifier which it does not support.
I contacted the author a week ago but he has not replied...is there an alternative this might support?

Cheers, Tom.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.