| Title | Test
                    Find
                    
                    Accurate IP address verification | 
            
                | Expression | ((0|1[0-9]{0,2}|2[0-9]?|2[0-4][0-9]|25[0-5]|[3-9][0-9]?)\.){3}(0|1[0-9]{0,2}|2[0-9]?|2[0-4][0-9]|25[0-5]|[3-9][0-9]?) | 
            
                | Description | Accurate IP address verification...
Each numeric part of an IP address must be between 0 and 255. All patterns I have seen on the net cover this range but they allow leading zeros. The valid cases are:
* 0
* 1, 10-19 and 100-199 aka 1[0-9]{0,2}
* 2 and 20-29 aka 2[0-9]?
* 200-249 aka 2[0-4][0-9]
* 250-255 aka 25[0-5]
* 3-9 and 30-99 aka [3-9][0-9]? | 
            
                | Matches | 10.0.0.0 | 195.167.1.119 | 255.255.255.255 | 
            
                | Non-Matches | 010.0.0.0 | 195.167.01.119 | 256.20.55.23 | 
            
                | Author | Rating:  Vassilis Petroulias | 
            
                | Source |  | 
            
              | Your Rating |  | 
        
    
 
    
    
     
        
                
	                Title: Scam victims 
	                Name: Jimy
	                Date: 10/20/2025 6:09:33 PM
	                Comment: 
I was a scam victim, I lost a lot of money up to $170,000 I would like to express my gratitude to Innovations recovery Analyst for their exceptional assistance in recovering my funds from a forex broker. Their expertise and professionalism in navigating the complex process were truly commendable. Through their guidance and relentless efforts, I was able to successfully retrieve my funds of $170,000, providing me with much-needed relief. I highly recommend them on - INNOVATIONSANALYST@ GMAIL. COM or WhatsApp + 1 424 285 0682 to anyone facing similar challenges, as their dedication and commitment to helping clients are truly impressive. Thank you, for your invaluable support in resolving this matter.
                
                
            
                
	                Title: Allows invalid IP addresses
	                Name: Dan R
	                Date: 2/24/2010 12:59:09 PM
	                Comment: 
Allows 0.1.1.1 and 1.0.0.0.  While 1.1.0.0 may be a valid IP (depending on mask) 1.0.0.0 will never be valid, nor would 0.1.1.1.
                
                
            
                
	                Title: General concept for long version patterns
	                Name: Vassilis Petroulias
	                Date: 12/30/2005 4:46:04 AM
	                Comment: 
Thank you for your comment. In general I use long version and syntax when I distribute patterns while this way regex newbies can easily visualize the logic of a pattern. On the other hand experience developers can short them at dead time.
                
                
            
                
	                Title: A shorter version
	                Name: Jesse Houwing
	                Date: 12/29/2005 7:13:45 PM
	                Comment: 
This does the same, but is a little shorter. I personally find it easier to read (though the part covering 0-99 is arguably harder).
^(([1-9]?[0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])[.]){3}([1-9]?[0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$