^(0*|-?0*[1-9]\d{0,8}|-?0*1\d{9}|-?0*20\d{8}|-?0*21[0-3]\d{7}|-?0*214[0-6]\d
{6}|-?0*2147[0-3]\d{5}|-?0*21474[0-7]\d{4}|-?0*214748[0-2]\d{3}|-?0*2147483[
0-5]\d{2}|-?0*21474836[0-3]\d|-?0*214748364[0-7]|-0*2147483648)$
« Javapolis 2007 - The Techie Bits | Main | WSDL Revisited »
^(0*|-?0*[1-9]\d{0,8}|-?0*1\d{9}|-?0*20\d{8}|-?0*21[0-3]\d{7}|-?0*214[0-6]\d
{6}|-?0*2147[0-3]\d{5}|-?0*21474[0-7]\d{4}|-?0*214748[0-2]\d{3}|-?0*2147483[
0-5]\d{2}|-?0*21474836[0-3]\d|-?0*214748364[0-7]|-0*2147483648)$
TrackBack URL for this entry:
http://blogs.iona.com/cgi-bin/mt/mt-tb.cgi/550
This page contains a single entry from the blog posted on December 20, 2007 11:06 AM.
The previous post in this blog was Javapolis 2007 - The Techie Bits.
The next post in this blog is WSDL Revisited.
Many more can be found on the main index page or by looking through the archives.
Comments (1)
Pretty good. Although, nothing I've seen beats this awesome regex for RFC822 email addresses.
Posted by Alex Miller | December 20, 2007 8:33 PM
Posted on December 20, 2007 20:33