Displaying page
of
 pages;
Items  to 
    
    
            
                
                    | 
                        Title | 
                    
                        Test
                        Details
                        
                        
                            Pattern Title
                        
                     | 
                
                
                    | 
                        Expression | 
                    
                         
                            ^[0-9]*[1-9]+$|^[1-9]+[0-9]*$
                         
                     | 
                
                
                    | 
                        Description | 
                    
                         This Expression checks if the value is an integer, positive, not zero and not a decimal.
Very handy for use when people need to fill in whole numbers, like when ordering car parts on a website (you dont want your customers to order -10 tires or 0.7 mirrors.. 
                     | 
                
                
                    | 
                        Matches | 
                    
                         1 | 00000428123 | 1230000 
                     | 
                
                
                    | 
                        Non-Matches | 
                    
                         0 | 00000000 | any text or +, - or any other character 
                     | 
                
                
                    | 
                        Author | 
                    
                        Rating:
                            
 
                        
                            Dennis de Jong
                        
                     | 
                
            
        
            
                
                    | 
                        Title | 
                    
                        Test
                        Details
                        
                        
                            Pattern Title
                        
                     | 
                
                
                    | 
                        Expression | 
                    
                         
                            ([0]{1}[6]{1}[-\s]*[1-9]{1}[\s]*([0-9]{1}[\s]*){7})|([0]{1}[1-9]{1}[0-9]{1}[0-9]{1}[-\s]*[1-9]{1}[\s]*([0-9]{1}[\s]*){5})|([0]{1}[1-9]{1}[0-9]{1}[-\s]*[1-9]{1}[\s]*([0-9]{1}[\s]*){6})
                         
                     | 
                
                
                    | 
                        Description | 
                    
                         Meets dutch phone number requirements.. One posted here before didn't allow the 0 after the first digit of the call ID (so the second number or later after the prefix), which should be allowed. I modified that one to meet full requirements now..
Enjoy!! 
                     | 
                
                
                    | 
                        Matches | 
                    
                         06 12345678 | 010-1234560 | 0111-101234 
                     | 
                
                
                    | 
                        Non-Matches | 
                    
                         05-43021212 | 123-4567890 | 1234567890 
                     | 
                
                
                    | 
                        Author | 
                    
                        Rating:
                            
 
                        
                            Dennis de Jong
                        
                     | 
                
            
        
    
        
        
   Displaying page
of
 pages;
Items  to