Regex

  • Thread starter Thread starter Arjen
  • Start date Start date
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
 
Back
Top