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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find base IP v6
Expression
^(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$
Description
IP v6 regular expression that matches non-collapsed address in hexadecimal representation
Matches
FE80:0000:0000:0000:0202:B3FF:FE1E:8329 2607:f0d0:1002:0051:0000:0000:0000:0004
Non-Matches
FE80::0202:B3FF:FE1E:8329 2607:f0d0:1002:51::4
Author Rating: Not yet rated. Jan Elias
Source http://www.java2s.com/Code/Java/Regular-Expressions/RegexforIPv6Address.htm
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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