improove regexp to match only valid IP-Adress (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3} see http://stackoverflow.com/questions/106179/regular-expression-to-match-hostname-or-ip-address/14453696#14453696
improove regexp to match only valid IP-Adress
(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}
see
http://stackoverflow.com/questions/106179/regular-expression-to-match-hostname-or-ip-address/14453696#14453696