RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Multiples of 3
Expression
([0369]*([147][0369]*([147][0369]*[258])*[0369]*[147][0369]*([258][0369]*[147])*[0369]*[0369]*([258][0369]*[147])*[0369]*[147]|[258][0369]*([258][0369]*[147])*[0369]*[258][0369]*([147][0369]*[258])*[0369]*[0369]*([147][0369]*[258])*[0369]*[258]|[147][0369]*([147][0369]*[258])*[0369]*[258]|[258][0369]*([258][0369]*[147])*[0369]*[147])*[0369]*)*
Description
Matches any sequence of decimal digits that represent a positive denary multiple of three.
Matches
0 | 3 | 12 | 129762
Non-Matches
1 | 2 | 129761
Author Rating: Not yet rated. Michael Dumas
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Redundancy
Name: Charles
Date: 12/10/2009 1:27:45 AM
Comment:
"[0369]*[0369]*"? Classy.


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials