python - 过滤IP地址

pattern1='(([01]{0,1}\d{0,1}\d|2[0-4]\d|25[0-5])\.){3}([01]{0,1}\d{0,1}\d|2[0-4]\d|25[0-5])'

 

 

 

 

 

 

posted @ 2021-10-07 16:19  xman888  阅读(252)  评论(0编辑  收藏  举报