Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / June 2006

Tip: Looking for answers? Try searching our database.

Regular Expression validators

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NAT - 22 May 2006 01:07 GMT
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,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.