I've done some research and see the pattern for regular expression to match ipaddress is
pattern = r'\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}'
mo = re.findall(pattern, line(s))
but I'm trying to figure out what the comma is meaning instead of a dash i.e \d{1-3}
Thanks!