| Title | Test
                    Find
                    
                    Up to 15 digits followed by 0,1 or 2 floating points | 
            
                | Expression | ^[0-9]{1,15}(\.([0-9]{1,2}))?$ | 
            
                | Description | This might seem like a contrived example but it was written to answer a question on a forum. For regex newbies you can just change the numbers in {} to change the number of required digits to suit your requirements | 
            
                | Matches | 1  |  123456789012345  |  123456789012345.1  |  123456789012345.12  |  123456.12 | 
            
                | Non-Matches | .12  |  12345.123  |  1234567890123456 | 
            
                | Author | Rating:  Matthew Harris | 
            
                | Source |  | 
            
              | Your Rating |  |