<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: UK National Insurance (NiNo) RegEx for InfoPath 2010 field</title><link>https://www.infopathdev.com:443/forums/thread/93953.aspx</link><pubDate>Tue, 29 Oct 2013 16:13:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93953</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=93953</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Does this help - http://www.regexlib.com/REDetails.aspx?regexp_id=527&amp;amp;AspxAutoDetectCookieSupport=1 or http://www.etl-tools.com/regular-expressions/is-uk-national-insurance-number.html&lt;br /&gt;&lt;/p&gt;</description></item><item><title>UK National Insurance (NiNo) RegEx for InfoPath 2010 field</title><link>https://www.infopathdev.com:443/forums/thread/93941.aspx</link><pubDate>Tue, 29 Oct 2013 10:27:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93941</guid><dc:creator>bjornatron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=93941</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I&amp;#39;m looking for some help with validating a correctly formatted&amp;nbsp;string to the UK National&amp;nbsp;Insurance number format:&amp;nbsp;&lt;/p&gt;&lt;p&gt;The basic format is : Two prefix letters, six digits and one suffix letter example. &lt;strong&gt;AB123456C&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Often, the number is printed/entered with spaces to pair off the digits, like this: AB 12 34 56 C&lt;/p&gt;&lt;p&gt;Some specific rules for this format:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div&gt;Neither of the first two letters can be D, F, I, Q, U or V. The second letter also cannot be O.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;The prefixes BG, GB, NK, KN, TN, NT and ZZ are not allocated.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;The suffix letter is either A, B, C or D&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I&amp;#39;ve used the following custom pattern just to get the basic format covered: \p{L}\p{L}\d\d\d\d\d\d\p{L} but wondered if anyone could help &amp;#39;fine-tune&amp;#39; this for me? Also if we could cater for potential spaces would be ideal.&lt;/p&gt;&lt;p&gt;Many thanks for any help/guidance. :)&lt;/p&gt;&lt;p&gt;Bjorn&lt;/p&gt;</description></item></channel></rss>