recipe 14.11. Match Valid IP Addresses by Using Subexpressions
14.11.1. Problem
You want to find multiple valid IP addresses in a block of
text.
14.11.2. Solution
Use subexpressions to create valid matches for each three-digit
number in the IP address.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial