Regex for validating IP-Adresses

Hi there,

here you find a regex to validate IP-Adresses.

\b(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\b

borrowed from: https://www.regular-expressions.info/ip.html