<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SolidPitch &#187; regular expression</title>
	<atom:link href="http://www.solidpitch.com/tag/regular-expression/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.solidpitch.com</link>
	<description>Video and Web Development</description>
	<lastBuildDate>Thu, 29 Jul 2010 18:18:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ASP.NET VB Server-Side SSN Validation Using Regular Expressions</title>
		<link>http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/</link>
		<comments>http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/#comments</comments>
		<pubDate>Thu, 21 May 2009 20:41:43 +0000</pubDate>
		<dc:creator>Dragos</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[asp.net vb]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.webfixtech.com/blog/?p=107</guid>
		<description><![CDATA[Useful in conjunction with the ASP.NET UpdatePanel control for Ajax .]]></description>
			<content:encoded><![CDATA[<p>Function IsValidSSN(ByRef Value As String) As Boolean<br />
If String.IsNullOrEmpty(Value) Then<br />
Return False<br />
End If</p>
<p>Value = Value.Trim</p>
<p>If InStr(strValue, &#8220;-&#8221;) = 0 Then<br />
Return Regex.IsMatch(Value, &#8220;^\d{9}$&#8221;)<br />
Else<br />
Return Regex.IsMatch(Value, &#8220;^\d{3}-\d{2}-\d{4}$&#8221;)<br />
End If</p>
<p>End Function</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;t=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions+-+http://tinyurl.com/29pr5qk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;title=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;title=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;title=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions&amp;body=Link: http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Useful%20in%20conjunction%20with%20the%20ASP.NET%20UpdatePanel%20control%20for%20Ajax%20." rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;title=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions&amp;summary=Useful%20in%20conjunction%20with%20the%20ASP.NET%20UpdatePanel%20control%20for%20Ajax%20.&amp;source=SolidPitch" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;title=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions&amp;body=Link: http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Useful%20in%20conjunction%20with%20the%20ASP.NET%20UpdatePanel%20control%20for%20Ajax%20." rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;title=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/&amp;title=ASP.NET+VB+Server-Side+SSN+Validation+Using+Regular+Expressions&amp;desc=Useful%20in%20conjunction%20with%20the%20ASP.NET%20UpdatePanel%20control%20for%20Ajax%20." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.solidpitch.com/2009/05/21/aspnet-vb-server-side-ssn-validation-using-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
