<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Validating data using Regular Expressions</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: natoor</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-8560</link>
		<dc:creator>natoor</dc:creator>
		<pubDate>Sat, 13 Nov 2010 06:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-8560</guid>
		<description>this not  what i want</description>
		<content:encoded><![CDATA[<p>this not  what i want</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bambam</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-7490</link>
		<dc:creator>Bambam</dc:creator>
		<pubDate>Mon, 12 Apr 2010 23:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-7490</guid>
		<description>Hi
I have need Find Pattern who have check  any type Mathematical expression is a regular Expression or not.
When i have used Pattern = /^[-+*()%\/]?\d*[-+*()%]+\d*[-+*()%\/]+\d*[-+*()%\/]+$/    for  String = &quot;+41+(-12)*(-12)&quot;

this is true, But when String = &quot;+41+(-12)*(-12)+11(-2)&quot;, this show wrong.
plz send generalize formate for pattern.

hanks
Bambam</description>
		<content:encoded><![CDATA[<p>Hi<br />
I have need Find Pattern who have check  any type Mathematical expression is a regular Expression or not.<br />
When i have used Pattern = /^[-+*()%\/]?\d*[-+*()%]+\d*[-+*()%\/]+\d*[-+*()%\/]+$/    for  String = &#8220;+41+(-12)*(-12)&#8221;</p>
<p>this is true, But when String = &#8220;+41+(-12)*(-12)+11(-2)&#8221;, this show wrong.<br />
plz send generalize formate for pattern.</p>
<p>hanks<br />
Bambam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-5141</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 13 Aug 2009 21:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-5141</guid>
		<description>@Matt Reynolds,

Excellent question! The &quot;Canada Only&quot; was actually bug fix/enhancement in a later Flex 3 SDK. It wasn&#039;t available when I did this post, but I really should update this post with that new information since it seems like overkill to use a simple RegEx validator when the ZipCodeValidator would do (unless you want to do more complex Canadian postal code validations as mentioned previously in some other reader comments).

Thanks,
Peter</description>
		<content:encoded><![CDATA[<p>@Matt Reynolds,</p>
<p>Excellent question! The &#8220;Canada Only&#8221; was actually bug fix/enhancement in a later Flex 3 SDK. It wasn&#8217;t available when I did this post, but I really should update this post with that new information since it seems like overkill to use a simple RegEx validator when the ZipCodeValidator would do (unless you want to do more complex Canadian postal code validations as mentioned previously in some other reader comments).</p>
<p>Thanks,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Reynolds</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-5138</link>
		<dc:creator>Matt Reynolds</dc:creator>
		<pubDate>Thu, 13 Aug 2009 21:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-5138</guid>
		<description>couldn&#039;t you just use the built in ZipCodeValidator with domain=&quot;Canada Only&quot; ?

Anyway, it&#039;s nice to know about the POSIX support

Cheers,

Matt</description>
		<content:encoded><![CDATA[<p>couldn&#8217;t you just use the built in ZipCodeValidator with domain=&#8221;Canada Only&#8221; ?</p>
<p>Anyway, it&#8217;s nice to know about the POSIX support</p>
<p>Cheers,</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj Sharma</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-786</link>
		<dc:creator>Anuj Sharma</dc:creator>
		<pubDate>Wed, 04 Mar 2009 19:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-786</guid>
		<description>Thanks Peter,
This restrict property helps me a lot in my flex application, Appreciate your good work
Anuj</description>
		<content:encoded><![CDATA[<p>Thanks Peter,<br />
This restrict property helps me a lot in my flex application, Appreciate your good work<br />
Anuj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Swanson</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-785</link>
		<dc:creator>Ryan Swanson</dc:creator>
		<pubDate>Sun, 19 Oct 2008 04:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-785</guid>
		<description>Hi Peter,

I am a frequent visitor to your blog and recently came across this article on Validating data using Regular Expressions.  For a while now, I have been working on a sophisticated regular expression application and was just able to publish it this past week.  Considering your interest and expertise with Flex and regular expressions, I thought you might be interested in it.

The app is called the Flex 3 Regular Expression Explorer and can be found at my blog below.

http://blog.ryanswanson.com/2008/10/introducing-flex-3-regular-expression.html

The application is similar to the Flex Component and Style Explorers created by Adobe, but I have also added a collaborative community section where people can post their own regular expression examples as well as a full-feature help panel to get novices started with the technology.

Hope you like it!

Cheers,
Ryan

p.s.  Considering your obvious abilities with Flex and regular expressions, I would be very grateful if you were a contributor to the Regular Expression Explorer community!  The more we work together, the more we all profit. :)</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>I am a frequent visitor to your blog and recently came across this article on Validating data using Regular Expressions.  For a while now, I have been working on a sophisticated regular expression application and was just able to publish it this past week.  Considering your interest and expertise with Flex and regular expressions, I thought you might be interested in it.</p>
<p>The app is called the Flex 3 Regular Expression Explorer and can be found at my blog below.</p>
<p><a href="http://blog.ryanswanson.com/2008/10/introducing-flex-3-regular-expression.html" rel="nofollow">http://blog.ryanswanson.com/2008/10/introducing-flex-3-regular-expression.html</a></p>
<p>The application is similar to the Flex Component and Style Explorers created by Adobe, but I have also added a collaborative community section where people can post their own regular expression examples as well as a full-feature help panel to get novices started with the technology.</p>
<p>Hope you like it!</p>
<p>Cheers,<br />
Ryan</p>
<p>p.s.  Considering your obvious abilities with Flex and regular expressions, I would be very grateful if you were a contributor to the Regular Expression Explorer community!  The more we work together, the more we all profit. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-781</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Wed, 29 Aug 2007 16:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-781</guid>
		<description>For more information on POSIX regular expressions, check out the following URL:

http://www.dc.turkuamk.fi/docs/gnu/rx/rx_3.html

The link also mentions how you can use inverted character classes such as the following:

&lt;pre class=&quot;code&quot;&gt;
[^[:space:]] - all non-whitespace characters
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>For more information on POSIX regular expressions, check out the following URL:</p>
<p><a href="http://www.dc.turkuamk.fi/docs/gnu/rx/rx_3.html" rel="nofollow">http://www.dc.turkuamk.fi/docs/gnu/rx/rx_3.html</a></p>
<p>The link also mentions how you can use inverted character classes such as the following:</p>
<pre class="code">
[^[:space:]] - all non-whitespace characters
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-784</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Wed, 29 Aug 2007 05:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-784</guid>
		<description>For more information on the fascinating Canadian Postal code format, check out:
&lt;u&gt;http://www.infinitegravity.ca/postalcodeformat.htm&lt;/u&gt;
&lt;u&gt;http://en.wikipedia.org/wiki/Canadian_postal_code&lt;/u&gt;
&lt;u&gt;http://www.canadapost.ca/cpc2/addrm/hh/doc/faq-e.asp&lt;/u&gt;

According to Ben Forta&#039;s &quot;Regular Expressions in 10 Minutes&quot; book (First edition, page 121), the following regular expression should work for Canadian postal codes:
&lt;blockquote&gt;
&lt;code&gt;[ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d&lt;/code&gt;
&lt;/blockquote&gt;

Note that the D, F, I, O, Q, U, and Z characters are omited from the first allowed character range, but allowable in alphabetic later ranges.

Peter</description>
		<content:encoded><![CDATA[<p>For more information on the fascinating Canadian Postal code format, check out:<br />
<u><a href="http://www.infinitegravity.ca/postalcodeformat.htm" rel="nofollow">http://www.infinitegravity.ca/postalcodeformat.htm</a></u><br />
<u><a href="http://en.wikipedia.org/wiki/Canadian_postal_code" rel="nofollow">http://en.wikipedia.org/wiki/Canadian_postal_code</a></u><br />
<u><a href="http://www.canadapost.ca/cpc2/addrm/hh/doc/faq-e.asp" rel="nofollow">http://www.canadapost.ca/cpc2/addrm/hh/doc/faq-e.asp</a></u></p>
<p>According to Ben Forta&#8217;s &#8220;Regular Expressions in 10 Minutes&#8221; book (First edition, page 121), the following regular expression should work for Canadian postal codes:</p>
<blockquote><p>
<code>[ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d</code>
</p></blockquote>
<p>Note that the D, F, I, O, Q, U, and Z characters are omited from the first allowed character range, but allowable in alphabetic later ranges.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-782</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 23 Aug 2007 17:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-782</guid>
		<description>Peter,

Thanks for the tip/clarification! Flex (or more accurately Flash Player 9) does allow POSIX classes, as it turns out! I updated the entry above to show the POSIX style and admit to my own ignorance of the Canadian Postal system.

Peter</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>Thanks for the tip/clarification! Flex (or more accurately Flash Player 9) does allow POSIX classes, as it turns out! I updated the entry above to show the POSIX style and admit to my own ignorance of the Canadian Postal system.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter J. Farrell</title>
		<link>http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/comment-page-1/#comment-783</link>
		<dc:creator>Peter J. Farrell</dc:creator>
		<pubDate>Thu, 23 Aug 2007 16:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/22/validating-data-using-regular-expressions/#comment-783</guid>
		<description>FYI, Canada Post does not use the letters D, F, I, O, Q, and U in postal codes as they are too similar to other letters or numbers.  This regex restricts even more:

^[A-CEG-NPR-TVXY][[:digit:]][A-CEG-NPR-TVW-Z]( &#124;-)?[[:digit:]][A-CEG-NPR-TVW-Z][[:digit:]]$

The above regex is more CF specific, but easy to adapt. I&#039;m not sure if Flex allow posix classes.</description>
		<content:encoded><![CDATA[<p>FYI, Canada Post does not use the letters D, F, I, O, Q, and U in postal codes as they are too similar to other letters or numbers.  This regex restricts even more:</p>
<p>^[A-CEG-NPR-TVXY][[:digit:]][A-CEG-NPR-TVW-Z]( |-)?[[:digit:]][A-CEG-NPR-TVW-Z][[:digit:]]$</p>
<p>The above regex is more CF specific, but easy to adapt. I&#8217;m not sure if Flex allow posix classes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

