Regex

A

Arjen

Hi,

Not really a C# question... but I use it inside C# code. ;-)

This code should checks if a user typed in valid e-mail address.
I use this with the regularexpressionvalidator control.

"\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"

Now I want that the user can put in multiple email addresses under each
other (textarea). The question is: how can the validator check multiple
lines.

Thanks!
Arjen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top