Test, validate and match regular expressions
Matches valid IPv4 addresses on a line-by-line basis using multiline mode. Each octet is validated to be within the range 0-255, with proper handling of leading zeros. Useful for extracting or validating IPv4 addresses from text files where each address appears on its own line.