Test, validate and match regular expressions
Matches sequences of four numbers ranging from 0 to 255, representing IPv4 addresses. It allows for optional dots between the octets and uses word boundaries to ensure isolated matches. This regex is commonly used for extracting IP addresses from text, though it may not enforce strict dotted-decimal formatting.