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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details IP V4 and IP V6 Validate
Expression
^\d{1,3}((\.\d{1,3}){3}|(\.\d{1,3}){5})$
Description
validate both IP V4 and IP V6
Matches
192.168.0.1 | 000.000.000.000.000.000 | 999.999.999.999.999.999
Non-Matches
1.1.1.1.1 | 1.1 | a.b.c.d.e.f.g
Author Rating: Not yet rated. gan068
   Displaying page 1 of 1 pages; Items 1 to 1

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