正则表达式:正确的IP地址

,字符类来描述一个正确的IP地址:((2[0-4]\d|25[0-5]|[01]?\d\d?)\.){3}(2[0-4]\d|25[0-5]|[01]?\d\d?)

原文地址:https://www.cnblogs.com/guanghuiqq/p/2678602.html