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 Pattern Title
Expression
^((?:2[0-5]{2}|1\d{2}|[1-9]\d|[1-9])\.(?:(?:2[0-5]{2}|1\d{2}|[1-9]\d|\d)\.){2}(?:2[0-5]{2}|1\d{2}|[1-9]\d|\d)):(\d|[1-9]\d|[1-9]\d{2,3}|[1-5]\d{4}|6[0-4]\d{3}|654\d{2}|655[0-2]\d|6553[0-5])$
Description
IPv4 ip:port checker, I hope it will help you. $1 - IP, $2 - port. More to come, maybe :)
Matches
127.0.0.1:80 | 255.255.255.0:21 | 1.0.0.0:1
Non-Matches
0.0.0.0:1 | 256.1.1.1:20 | 127.0.0.1:65536
Author Rating: The rating for this expression. Brano Gerzo
   Displaying page 1 of 1 pages; Items 1 to 1

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