Please Sign Up to Request This Product

Regular Expressions Cookbook

You need to be an approved reviewer to request a product. Please sign up to request access or login to your account.

If you've already signed up and you haven't heard from us yet please email and we will check on your request.


Take the guesswork out of using regular expressions. With more than 140 practical recipes, this cookbook provides everything you need to solve a wide range of real-world problems. Novices will learn basic skills and tools, and programmers and experienced users will find a wealth of detail. Each recipe provides samples you can use right away.


On Jan 18 Geoffrey Timms wrote: One of Few Programming Books in My Collection that I Consider Essential
Regular Expressions Cookbook 2nd ed. has undoubtedly assisted me in learning and utilizing regular expressions at work. It has proven useful both as an initial introduction to regular expressions but also as an ongoing go-to reference. Full Review  >

Rating: StarStarStarStarStar4.0

On Oct 19 Sean Patterson wrote: An essential book for any programmer.
I’ll never forget the day I came across regular expressions. I was a year out of college and at my first “big” job at a major University and I ran into a challenge where I needed to detect the status of destination of packages arriving on campus based on a special reference code that was attached to the packages. While there were a large amount of options that made hard coding the processing undesirable, the format of the reference code was easy to discern. From here I discovered that regular expressions allowed me to get my location, floor, and sometimes room in two or three simple lines of code. Since then I’ve always tried to keep somewhat up to par on my regular expression proficiency. That is why I was really excited to come across Regular Expressions Cookbook, 2nd Edition by Jan Goyvaerts and Steven Levithan that provides everything I need to work with Regular Expressions. Full Review  >

Rating: StarStarStarStarStar5.0

On Oct 12 Surachart Opun wrote: Good book, but need skill before read
In this book, you will learn a lot of regular expression practicals, but readers ought to have programming skill or basic for it. This book uses "Cookbook" on book title, but material in book is not easy to understand, if reader is newbie developer. If you are developer and spend time to write code relate to regular expression. I still believe the example in book can help you for solutions. Each example, you will see solution and idea for each problem. Some problems authors have added programming language options (C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET) as well. If you read this book, You will know it easy to find each topic and idea. You can read topic which you are interested or can help you. Full Review  >

Rating: StarStarStarStarStar4.0

On Sep 25 Eric Wright wrote: DiscoPosse Review: Regular Expressions Cookbook by Jan Goyvaerts and Steven Levithan
If you’ve ever dug into the challenging world of Regular Expressions then you will know just how important a great guide can be. This is that guide. Jan Goyvaerts and Steven Levithan have gone above and beyond what I could have hoped for with the Regular Expressions Cookbook from O’Reilly… Full Review  >

Rating: StarStarStarStarStar5.0

On Sep 4 Rob Friesel wrote: if you have regular contact with regular expressions, you need this book
Although I run the risk of fawning all over this book here, Jan Goyvaerts and Steven Levithan's "Regular Expressions Cookbook (Second Edition)" is a technical text that I will gladly describe using words like "essential" and "indispensable" and "invaluable". It should be on every working programmer's bookshelf, if not on her desk. It is exhaustive and rigorous, covering the major regex flavors across eight popular/widespread general purpose languages. If your work brings you in regular contact with regular expressions, then you need easy access to this book. Full Review  >

Rating: StarStarStarStarStar5.0

On Sep 1 Eric Chou wrote:
Full Review  >

Rating: StarStarStarStarStar4.0

On Aug 31 Michal Konrad Owsiak wrote: May be difficult for regex newcomers
When you read the book, you can definitelly tell that authors have experience when it comes to different flavors of the regular expressions. When you go over the different aspects of regular expressions you can track the differences between the standards thanks to clear specification what is allowed and what’s not in particular regular expressions convention. Full Review  >

Rating: StarStarStarStarStar3.0

Receive free ebooks and videos in exchange for your reviews.

Join the O'Reilly Reader Review Program

Learn more >


Top Reviewers

Michal Konrad Owsiak, 93 Reviews

Surachart Opun, 58 Reviews

Santosh Shanbhag, 58 Reviews

Doron Katz, 56 Reviews

Shawn Day, 55 Reviews

See More Reviewers >

Featured Review

CSS Cookbook

Fabio Alessandro Locati wrote:
CSS Cookbook by Christopher Schmitt
This is a very good book, but is not thought for beginners. As a lot… Full Review >

Rating: StarStarStarStarStar4.0