I want to use regular expression validators for checking if the url entered
is valid. I tried giving "https://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? " as
custom pattern in Data vaidation of Infopath. But this does not work.
Similarly I tried giving "https://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? " for
checking Valid email address but this also does not work. Any idea how to use
regular expression validators for checking valid url and valid Email address
in Infopath form ? It seems InfoPath provides patters only for
PhoneNumber,ZipCode n SocialSecurityNumber.For the rest we will have to
create custom patters. So any idea what custom pattern is required for
validating email address and validating url.
Thanks in advance,
Kalyan Reddy - 22 May 2006 05:58 GMT
Hi,
Try this link below, Hope it will be of some help
http://infopathdev.com/forums/topic.asp?TOPIC_ID=205

Signature
Kalyan Reddy
Visit http://www.autonomysystems.com
Bob C. - 05 Jun 2006 18:43 GMT
search this newsgrop. I posted a similar question a few months ago.
http://sourceforge.net/projects/regulator/
The short answer, remove the leading and trailing ?
> Hi,
>
> Try this link below, Hope it will be of some help
> http://infopathdev.com/forums/topic.asp?TOPIC_ID=205
NAT - 23 May 2006 00:02 GMT
Do we have any such expression for checking valid weburl address ?
> I want to use regular expression validators for checking if the url entered
> is valid. I tried giving "https://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? " as
[quoted text clipped - 8 lines]
>
> Thanks in advance,
Ben Walters - 23 May 2006 04:53 GMT
Hey NAT
I have found this site the best reference when doing Regular expressions
http://www.regular-expressions.info/characters.html
hope this helps
Cheers
Ben
> Do we have any such expression for checking valid weburl address ?
>
[quoted text clipped - 10 lines]
> >
> > Thanks in advance,