Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 14. Validation, Formatting, and ... > Match Valid IP Addresses by Using Su...

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