IPv4 address regexp
I've got tired of googling IPv4 regexp. So I've decided to take a moment and pracitice my regexp writing skills. After a few iterations I came up with complex and simplified regular expressions matching IPv4 address.
IPv4 address accurate regexp:
^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])$
IPv4 address simple regexp:
^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$