<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Email validation pattern</title><link>https://www.infopathdev.com:443/forums/thread/41205.aspx</link><pubDate>Fri, 01 May 2009 08:19:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41205</guid><dc:creator>Samir Farid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41205</wfw:commentRss><description>&lt;p&gt;Hi Valtteri,&lt;/p&gt;
&lt;p&gt;You can try this pattern. It covered 95 % all e-mail addresses that I can come up with.&lt;/p&gt;
&lt;p&gt;([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))&lt;/p&gt;
&lt;p&gt;But it still needs a small bit of fixing as it allows.&lt;/p&gt;
&lt;p&gt;ex. &lt;a href="mailto:.@infopathdev.com"&gt;.@infopathdev.com&lt;/a&gt;&amp;nbsp;/ &lt;a href="mailto:_@infopathdev.com..etc"&gt;_@infopathdev.com&lt;/a&gt;&amp;nbsp;..etc&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Samir&lt;/p&gt;</description></item><item><title>Re: Email validation pattern</title><link>https://www.infopathdev.com:443/forums/thread/40964.aspx</link><pubDate>Fri, 24 Apr 2009 12:50:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40964</guid><dc:creator>hietaval</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40964.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=40964</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I dont understand this, but I tried to put:&lt;/p&gt;
&lt;p&gt;[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;(\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In &lt;/p&gt;
&lt;p&gt;Button properties&lt;/p&gt;
&lt;p&gt;-&amp;gt;Set condition&lt;/p&gt;
&lt;p&gt;-&amp;gt; matches pattern&lt;/p&gt;
&lt;p&gt;-&amp;gt;custom pattern&lt;/p&gt;
&lt;p&gt;But it prompts:&lt;/p&gt;
&lt;p&gt;The pattern is not valid??? Why?&lt;/p&gt;
&lt;p&gt;I have tried another 5 different email patterns (based on various blogs) but none of them work correctly, but this is first time the pattern is not even accepted.&amp;nbsp; &lt;a href="http://www.regular-expressions.info/index.html" target="_blank"&gt;&lt;font color="#666666"&gt;http://www.regular-expressions.info/index.html&lt;/font&gt;&lt;/a&gt; Is too much for me. I only want to now what is the correct pattern for email. Please help me.&lt;/p&gt;
&lt;p&gt;-Valtteri&lt;/p&gt;</description></item><item><title>Re: Email validation pattern</title><link>https://www.infopathdev.com:443/forums/thread/11115.aspx</link><pubDate>Wed, 14 Feb 2007 19:24:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11115</guid><dc:creator>troy0118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11115</wfw:commentRss><description>Hi Patrick,&lt;br /&gt;really helpful, thanks.&lt;br /&gt;&lt;br /&gt;Troy</description></item><item><title>Re: Email validation pattern</title><link>https://www.infopathdev.com:443/forums/thread/11114.aspx</link><pubDate>Wed, 14 Feb 2007 19:04:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11114</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11114</wfw:commentRss><description>Hi Troy0118,&lt;br /&gt;Excellent question. This is a regular expression. It is meant to map an e-mail address. The \w means word I think. Another example that matches e-mail address is: \b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b. You can use&lt;a target="_blank" href=http://www.regular-expressions.info/index.html&gt;http://www.regular-expressions.info/index.html&lt;/a&gt; as a reference.</description></item><item><title>Email validation pattern</title><link>https://www.infopathdev.com:443/forums/thread/6062.aspx</link><pubDate>Wed, 14 Feb 2007 16:24:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6062</guid><dc:creator>troy0118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6062</wfw:commentRss><description>I found this from previous post: (.+)@(\w+)(\.\w+)*\.(\w{2,6})&lt;br /&gt;&lt;br /&gt;Can someone explain what it means?&lt;br /&gt;&lt;br /&gt;I don't see "\w" in IP, and have no idea about "{2,6}"&lt;br /&gt;&lt;br /&gt;Thanks.</description></item></channel></rss>