Test, validate and match regular expressions
This regex matches a complete IPv4 address, validating each of the four octets from 0 to 255. It uses alternation to allow one- or two-digit numbers, numbers from 200 to 249, and numbers from 250 to 255, ensuring strict correctness. With the multiline flag, it also works on each line of a text, making it useful for validating or extracting IP addresses from logs, configs, or user input.