can anyone suggest me the regular expression for ip address and mac address ?
i am using python & django
for example , http://[ipaddress]/SaveData/127.0.
alright so this is what I use for IPV4
([0-9]{1,3}.){3}[0-9]{1,3}
tested with
127.0.0.1 255.255.255.255
and works for all