Programmer Question
m = re.findall("\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}",s)
probably very easy question for somebody who knows regex, how do I modify it so it will match not only IPv4, but also something with CIDR like 10.10.10.0/24
?
thanks
Find the answer here
No comments:
Post a Comment