Displaying page
of
 pages;
Items  to 
    
    
            
                
                    | Title | Test
                        Details
                        
                        
                            Pattern Title | 
                
                    | Expression | 
                            ^[\(]? ([^0-1]){1}([0-9]){2}([-,\),/,\.])*([ ])?([^0-1]){1}([0-9]){2}[ ]?[-]?[/]?[\.]? ([0-9]){4}$
                         | 
                
                    | Description | Here is a regular expression I wrote that validates U.S. phone numbers with area codes. You can't have a leading '0' or '1' but you can separate the number blocks with a space, a dot, a slash, or a hyphen. It also prevents a '0' or '1' for the first digit of the prefix. No extension is allowed and it must be 10 digits. | 
                
                    | Matches | (713) 555-1212 | 713/555/1212 | 713.555 1212 | 
                
                    | Non-Matches | 07135551212 | 7130125551212 | 
                
                    | Author | Rating:  Bruce Hatherly | 
            
        
    
        
        
   Displaying page
of
 pages;
Items  to