Regular expression - how to match IP address in python
阿神2017-06-28 09:23:37
0
1
924
Now I need to match all the IP addresses in the list that are not x.x.x.1. I don’t know how to do this. What I think of is to use regular matching. I don’t know much about regular matching. Can anyone help me?
Rudimentary version~, it does not match the legality of
ip
, it only matchesx.x.x.1