motif regex à l'adresse IP MathC

// 127.0.0.1 is valid
// 192.168.123.231 is valid

// 256.0.0.1 is not valid
// 127.0.1 is not valid
// -1.0.0.1 is not valid
// 127.0.0.1. is not valid
String ipAddressRegex = "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\.(?!$)|$)){4}$";