Steven Levithan

Steven Levithan

Areas of Expertise:

  • Regular expressions
  • JavaScript
Steven Levithan is a leading expert on rain dancing, monkey-based warfare, and women. During his free time, he enjoys signing autographs and writing imaginative autobiographies in the third person. He can also be found assassinating supervillains, summoning rain with powerful yet sensual dance moves, defeating silverbacks in hand-to-hand combat, and daydreaming about all of the above.

Regular Expressions Cookbook Regular Expressions Cookbook
by Jan Goyvaerts, Steven Levithan
Second Edition August 2012
Print: $49.99
Ebook: $41.99

Regular Expressions Cookbook Regular Expressions Cookbook
by Jan Goyvaerts, Steven Levithan
May 2009

Steven blogs at:

How Shazam predicts pop hits

May 22 2015

Subscribe to the O’Reilly Radar Podcast to track the technologies and people that will shape our world in the years to come. In this week’s Radar Podcast, I chat with Cait O’Riordan, VP of product, music and platforms at Shazam. … read more

How Shazam predicts pop hits

May 22 2015

Subscribe to the O’Reilly Radar Podcast to track the technologies and people that will shape our world in the years to come. In this week’s Radar Podcast, I chat with Cait O’Riordan, VP of product, music and platforms at Shazam. … read more

Photo-Development Challenge Results #2: Statues

May 22 2015

It's been three months to the day since I posted "Photo-Development Challenge: Inspire Me and Others With Your Artistic Interpretation", and I'm mortified that it's only the second set of results that I'm finally getting around to sharing (the first having been "Hillside Temple Buildings" 2½ months ago). In retrospect,… read more

Ask the Readers: Will higher interest rates make you save more money?

May 22 2015

This article is by editor Linda Vergon. Interest rates are expected to rise later in 2015. What will you do with this information? You could make the case that you haven’t missed much if you didn’t keep your money in a savings account over the last few years. But still,… read more

Four short links: 22 May 2015

May 22 2015

GM: That Car You Bought, We’re Really the Ones Who Own It — GM’s claim is all about copyright and software code, and it’s the same claim John Deere is making about their tractors. The TL;DR version of the argument … read more

Regex Cookbook 2nd Edition Contest Winners

August 15 2014

For the last six days, I've been running a contest on my blog to win one of 15 free copies of Regular Expressions Cookbook, 2nd Edition. Thanks to all who participated and spread the word! I've read every one of your comments, and appreciate the congratulations and the great comments… read more

Win a Free Copy of Regex Cookbook 2nd Edition

August 15 2014

Update: This contest is now finished. See the list of winners. I'm excited to announce the release of Regular Expressions Cookbook 2nd Edition, which I wrote together with regex superguru Jan Goyvaerts. It has actually been available as an ebook for a couple weeks on, but as of now,… read more

"This book shows all the careful attention to detail and thoroughness of preparation that I expect in a definitive reference volume. Recommended as an integral part of every developer's bookshelf."
--Andrew Binstock, Dr. Dobbs Journal

"The authors manage to combine the friendly attitude found in Friedl’s work, but the quick ability to solve problems in a variety of languages common to the “Cookbook” series."
--Reed Wiedower, New Signature

"It's the book that you put on your shelf and pull out whenever you need to look up a few specific patterns."
--Erica Sadun, TUAW - The Unofficial Apple Weblog

"I’m giving this a 9/10 and I really recommend it to those guys which are looking to learn more about regular expressions or that need to buy a good reference book on the topic."
--Luis Miguel Nunes Abreu, LA.NET [EN]

"For everything that the book is and everything that it covers, the book offers a lot of information at a bargain. If you work with regular expressions and need a reference book, this book is definitely the way to go."
--Michael Kim,

"The Regular Expressions Cookbook is well-written and well-illustrated."
--Si Dunn, Sagecreek Productions

"If your work regularly brings you in contact with regular expressions, you’ll want to arm yourself with this. Highly recommended."
--Rob Friesel, found drama

"After a very good, fast paced introduction to regular expressions, the following chapters contain various detailed recipes for solving particular tasks, ranging from the simple to the absolutely scary. Many recipes are not just about regular expressions, but also about interesting stuff like telephone numbers or XML."
--Nikolaj Lindberg

"Regular Expressions Cookbook manages to be simultaneously accessible and almost ridiculously comprehensive. The problem, solution, discussion format lets you learn regular expressions as needed, without being overwhelmed by their Swiss army knife complexity. I consider myself a fairly advanced regex user and about 50 pages in I've already had three big 'oh, wow, I didn't realize that' moments."
--Jeff Atwood

"Regular Expressions are a timeless technology; and, the Regular Expression Cookbook will surely prove to be a consistent source of both information and inspiration for years to come."
--Ben Nadel, The Blog of Ben Nadel

"What I was looking for was a book that would teach regular expressions while giving concrete examples of real life use cases that I could immediately put to work. This book is filled with them...The best part of the book is that every example uses a clear format that sets the stage for an easy discovery of needed information...This book will be used regularly as a reference."
--Matthew Helmke,

"I love the O'Reilly Cookbook series. The format is very usable, and very helpful. This book continues the trend. This book fully met my expectations, giving me easy access to syntax for common Regular expression problems I need to solve. The recipes are all practical, but solve a range of simple to complex problems. I will keep this book close by and use it often, it is a great reference tool! "
--Jeremy P. Petersen,

"Overall the book is useful if you want to either extend your knowledge of regular expression or really do need help with a specific problem...If what you really want is a cookbook then this is as good as it gets."
--Ian Elliot, iProgrammer

"This is hands-down the best book on the regular expression written by the Reg-Ex guru Jan Goyvaerts himself. Sysadmins and DBAs who write administrative scripts in Perl should definitely have this book as a reference. This is a must-have for programmers of all languages. When you have this book in your desk, regular expression will not look intimidating at all."
--Ramesh Natarajan, The Geek Stuff

"...Regular Expressions Cookbook is a useful addition to a programmer's reference shelf."
--Sharon Machlis, Computerworld Blogs

"...a book for the true geek to curl up with and read. You may not need the information now, but you will need it someday and just browsing is an effective way to pick it up. Likewise, if you're looking for an immediate solution to a problem right now, just check the Table Of Contents...In short, this is the newest benchmark reference for Regular Expressions. With this and Mastering Regular Expressions, you are going to be a Master of the Universe and do things with text that will leave ordinary mortals awestruck. "
--Jerry Saperstein,

"After buying the 3rd edition of Mastering Regular Expressions by Jeffrey Friedl about 2 and a half years ago I thought I would never read another book about Regular Expressions again. That was until I saw Jeff Atwood’s review of Regular Expressions Cookbook by Jan Goyvaerts and Steven Levithan. Now I have been known in the past to buy and read a book based on the suggestion of Jeff Atwood so who was I to say no this time...This book will be a useful reference for some time to come."
--Martin Jagger, Martin C# and .NET Fanboy!

" awesome book. Not only does it contain a huge number of "recipes" for using regular expressions to solve real world problems, it has a thorough and easy-to-follow tutorial on what regular expressions are and how they work. Even if you are someone who feels very comfortable with regular expressions, I would highly recommend reading the tutorial - you will definitely learn things that you didn't know before. I certainly found myself dog-earing some new tip every few pages... I highly recommend this book for anyone who wants to get into regular expressions for the first time or for anyone who wants to take their existing regular expression skills to the next level."
--Ben Nadel, The Blog of Ben Nadel

"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!"
--Cory Hudson, Flagrant Badassery

"...a good addition to any programmers bookshelf. It is well written and concise and has lots of very useful receipes - such as URL/Paths/Addresses manipulators (getting host, frame, email address etc), and some very useful ones for specific formats, such as date formats, phones numbers, zip and UK postocdes. What's really impressive is the book provides useful links to reference materials (RFCs, Telecoms standards, British and ISO standards). "
--Philip, Figment Engine