Regular Expressions Cookbook is Out

As of today, Regular Expressions Cookbook (written by Jan Goyvaerts and me, and published by O'Reilly Media) is listed as In Stock on and other fine bookstores. The book covers seven regular expression flavors (.NET, Java, JavaScript, Perl, PCRE, Python, and Ruby) and eight programming languages (C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET). It's targeted at people with regex skills from beginner to upper intermediate, and there's a fair amount of information in there even for people who already consider themselves regex experts. For those who'd like to know more, Jan has a good summary on his blog, and here is O'Reilly's press release for the book.

Don't forget to pick up a copy of your very own.

10 thoughts on “Regular Expressions Cookbook is Out”

  1. @Matthew, it’s been up in hundreds briefly. 🙂 (Edit: our first review helped push it to no. 1 for Amazon computer books.)

    @Anders, thanks, and I’d love to hear what you think once you’ve had some time with it.

  2. The book came in from Amazon this weekend and I’m about 60 pages in. Just from what I’ve read so far and scanned from later in the book, this looks like it will be THE book on regular expressions. I made a huge leap forward with the O’Reilly Mastering Regular Expressions book, but this one looks like it will make an even bigger impact for regex users. This book is just so well-written and thought out. Even though you guys are explaining a complex subject, everything feels very straightforward and easy to grasp. The tutorial is excellent, and the cookbook part is great for showing examples with common regex uses. Thanks for writing this book!

  3. Thanks, Cory! Comments like that make all the effort that went into it worthwhile. For the record, the tutorial is all Jan (well, aside from review, fixes, suggestions, etc. from me and our technical reviewers and editors :)).

  4. Very good book, i normally use Server side for validation but i can now see the benefits in using javascript with DHTML to guide a user through the process on the client side

  5. The book is a masterpiece and a must have for all serious developers and programmers.

    My own book “Regular Expression in Javascript” covers a small subset and is intended for the beginners.

  6. I bought the book. It is great and certainly has lots of useful RegEx’es – many thanks.
    However I discovered that even though I own a copy, there is no way to download the code. I have 45 days access to the book on Safari and I can cut and paste snippets of code form there. However this will work only for 45 days. And what to do next? Re-type stuff from the page? Perhaps there is still a place where I can download the code?
    I’d appreciate if you could let me know.

Leave a Reply

Your email address will not be published. Required fields are marked *