Sams Teach Yourself Regular Expressions in 10 Minutes is a tutorial book organized into a series of easy-to-follow 10-minute lessons. These well targeted lessons teach you in 10 minutes what other books might take hundreds of pages to cover. Instead of dwelling on syntax, terminology, and arcane examples and scenarios, this book takes a very hands-on approach to solving the needs of the majority of RegEx users who simply need to manipulate data.
1. Introducing Regular Expressions.
Understanding the Need. How Regular Expressions Are Used. So What Exactly Is a Regular Expression? Using Regular Expressions. Before You Get Started. Summary.
Matching Literal Text. Matching Any Characters. Matching Special Characters. Summary.
Matching One of Several Characters. Using Character Set Ranges. "Anything But" Matching. Summary.
Escaping Revisited. Matching Whitespace Characters. Matching Specific Character Types. Using POSIX Character Classes. Summary.
How Many Matches? Using Intervals. Preventing Over Matching. Summary.
Using Boundaries. Using Word Boundaries. Defining String Boundaries. Summary.
Understanding Subexpressions. Grouping with Subexpressions. Nesting Subexpressions. Summary.
Understanding Backreferences. Matching with Backreferences. Performing Replace Operations. Summary.
Introducing Lookaround. Looking Ahead. Looking Behind. Combining Lookahead and Lookbehind. Negating Lookaround. Summary.
Why Embed Conditions? Using Conditions. Summary.
Understanding the Regular Expression Tester Application. Obtaining a Copy of the Application.