Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

InfoPath 2007 and email data validation

  Asked By: Sanchay    Date: Jan 24    Category: MOSS    Views: 11241

I am trying to add a email data validation pattern for a text box I use
When i go to the pattern box and type in this

\p{L}+_*-*\p{L}+\d*@\p{L}+-*\p{L}*\.\p{L}+

i get an error invalid pattern, can someone please help or give me a
pattern to validate emails.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Lizette Mcconnell     Answered On: Jan 24

Try this:

^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$

For details, see: http://www.regular-expressions.info/email.html

 
Didn't find what you were looking for? Find more on InfoPath 2007 and email data validation Or get search suggestion and latest updates.




Tagged: