Test, validate and match regular expressions
This regular expression matches a string that starts with the literal characters "IP=" followed by a basic IPv4 address. It captures each of the four decimal octets of the IP address into separate capturing groups, where each octet consists of one to three digits. It is commonly used to extract IP addresses from configuration files, structured logs, or key-value paired data. Note that this pattern does not strictly validate the numerical ranges (0-255) of a real IP address, meaning it could potentially match invalid numbers like 999.