This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDF The popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Regular expressions can make virtually every developer more productive, but many programmers don’t use them because they’ve never learned how. In Learning Regular Expressions, best-selling author Ben Forta solves that problem. Forta’s expert tutorial organizes regex into a series of easy-to-follow hands-on lessons focused on solving the specific problems you’re likely to encounter most often. Instead of dwelling on syntax, terminology, and arcane scenarios, he guides you through concepts and techniques you’ll use every day -- starting with simple text matches and working up to powerful backreferences, conditional evaluation, and look-ahead processing. Forta’s clear, practical examples are implemented in multiple languages, so you can find code you can immediately use to get the job done.
1. Introducing Regular Expressions
2. Matching Single Characters
3. Matching Sets of Characters
4. Using Metacharacters
5. Repeating Matches
6. Position Matching
7. Using Subexpressions
8. Using Backreferences
9. Looking Ahead and Behind
10. Embedding Conditions
Appendix A. Regular Expressions in Popular Applications and Languages
Appendix B. Regular Expression Solutions to Common Problems
Appendix C. The Regular Expression Tester