Home > Store

Learning Regular Expressions

Register your product to gain access to bonus material or receive a coupon.

Learning Regular Expressions


  • This product currently is not for sale.
Not for Sale



  • Packed with complete examples and detailed usage notes
  • Includes test code in multiple languages so readers can use the examples immediately
  • Covers regex with grep, JavaScript, C#, .NET, Visual Studio, MySQL, Perl, PHP, and Java


  • Copyright 2018
  • Dimensions: 7" x 9"
  • Pages: 200
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-475706-8
  • ISBN-13: 978-0-13-475706-3

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.

Sample Content

Table of Contents

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


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership