Flagrant Badassery

A JavaScript and regular expression centric blog

Win a Free Copy of Regex Cookbook 2nd Edition

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 oreilly.com, but as of now, it is also in stock on amazon.com.

To promote this release, O'Reilly Media is giving away free copies to 15 people who comment on this post on or before September 7th! To get a free copy, you must read the details at the end of this post. But first, some FAQs about the second edition:

Wait…this is a cookbook?

The book tackles hundreds of real-world regular expression tasks in a problem, solution, discussion format. There's also a detailed regular expression tutorial included, in the same format. Check out Jeff Atwood's and Ben Nadel's reviews of the first edition, which have more details about this.

Update: Rob Friesel Jr. posted an awesome, detailed review of the second edition.

The first edition was a bestseller, and is now available in eight languages. It briefly held Amazon's #1 spot for computer books upon its release in mid 2009, and the ebook version was O'Reilly's top seller of 2010.

What has changed with this new edition?

The second edition adds more content, and updates existing chapters. There are innumerable improvements, including the most noticeable addition of a new chapter written by Jan, titled Source Code and Log Files, and various new recipes interspersed with four of the other chapters.

There are 101 new pages in the second edition, and that's after shortening and removing some content from the first edition. There were 125 recipes in the first edition, upped to 146 in the second. Note that many of the book's recipes provide solutions and in-depth discussions for more than one problem. Tons of changes, ranging from minor copyedits and errata corrections to major revisions and the addition of significant new content, were made throughout the existing content. Everything was brought up to date with the latest standards, tools, and programming language versions. In particular, updates to Java and Perl since the first edition brought very significant regular expression changes. Plus, we've covered some advanced regular expression features that already existed the last time around, but didn't make it into the first edition.

The first edition was already groundbreaking for the depth of its explanations and its equal coverage of all regexes in eight programming languages (C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET). The second edition significantly improves upon this by providing even more details about the many peculiarities and differences of the APIs, syntax, and behavior of these regex flavors and programming languages. The second edition also adds coverage of XRegExp when it provides a better solution than native JavaScript. IMO, the second edition is easily the most comprehensive source of information about the use of modern regexes across multiple programming languages—far more detailed than anything else in print or online.

What will interest long-term fans the most?

Even though there are lots of important changes throughout the book, the new recipes and the updated coverage for the latest programming languages are probably the main reasons for owners of the first edition to upgrade. The fully-new recipes cover creating a regex-based parser, validating password complexity, adding thousands separators to numbers, matching various kinds of numbers, decoding XML entities, and everything in the new Source Code and Log Files chapter. The coverage of XRegExp is also completely new in the second edition.

What will cause readers to trip over themselves in their haste to buy a copy?

If you read though the book, you'll learn about a lot of things—much more than just regular expressions. You'll almost certainly learn something new about Unicode, phone numbers, and XML, as just a few examples. You'll learn that the eighth floor of the Saks Fifth Avenue store in New York City has its own ZIP code, which also happens to be the only ZIP code that includes letters. You'll learn that the Chicago Manual of Style and Merriam-Webster's Biographical Dictionary disagree on the correct alphabetical listing of the name Charles de Gaulle (my girlfriend and I are in opposing camps). Jan and I put a ton of research into the book, and we pay attention to details. I think that shines through.

Oh yeah, and along the way, you'll also become a Master Chef of regular expressions, able to slice and dice text with the best of them. But not everyone will want to actually read through the book. Some readers will prefer to take advantage of the cookbook format and read only the parts that solve their immediate problems. That's fine, too.

Many developers complain that they're continually relearning regular expressions, going back to the reference documents every time they need to write a new regex. The problem/solution approach of Regular Expressions Cookbook means you learn by doing, and we think that helps the details stick with you more securely than with the other books and websites out there.

Many regex novices turn to Google to get prewritten regexes that solve their problems. Unfortunately, if you're not already fluent in regex, you won't realize that 90% of the regexes out there have some kind of problem, be it returning false positives or negatives, performing inefficiently (or maybe even crashing your server when fed malicious data), being more complicated than necessary, not being portable, or what have you. When you use the regexes in Regular Expressions Cookbook, not only do you get detailed coverage of all the related issues (which helps you customize the solution, if necessary), you also get the peace of mind that you're using proven solutions by real subject-matter experts.

So how do I enter to win a free copy?

Simply comment on this blog post on or before 11:59 PM EDT on September 7th, and you'll be in the running. I wish I could leave the contest open a bit longer, but I'll be moving to California to work for a little Internet startup. You'll need to use your actual first and last name and email address with your comment. Names are published, but email addresses are not. Each person commenting has only one chance to win, regardless of how many comments they post. If you don't know what to write in your comment, just mention whether you'd prefer a print or ebook copy.

Shortly after this contest ends, I'll randomly choose 15 winners and contact them by email. If you prefer a printed copy, I'll be asking for your address and, if you're outside of the U.S., your phone number. O'Reilly will pay for shipping to anywhere in the world. Good luck!

Book sampler

Coauthor Jan Goyvaerts has written up his own summary of the changes in What's New in The Second Edition of Regular Expressions Cookbook.

Follow me on Twitter @slevithan or on GitHub at slevithan.

There Are 374 Responses So Far. »

  1. Count me in! (e-book copy)

  2. I’m so excited about this 2nd Ed. XRegExp was a really great adittion. Kudos!

  3. Nice one! If I’m one of the lucky few, I’d prefer a print copy.

  4. I wouldn’t mind an e-book copy 😉

  5. It would be great to get one copy!

  6. I would like a print version :)

  7. Congrats on the move! Maybe we’ll bump into each other at a meetup.

    I look forward to getting my hands on an ebook copy, even if I end up having to purchase it myself. 😉

  8. This sounds like a phenomenal time saver for those not already expert at creating regex. I know I go looking for ready made solutions when I have to get something done. I enjoy figuring them out, but it’s nice to have proven code when you’re adding features to a site.

    I’d be happy to get either the print or e-book versions. The easiest would be the e-book.

  9. Congrats on book. I’m still a tree killer for the books I read

  10. I’d love a copy of this new edition!

  11. Oh this book sounds aweseome.
    So far i learned some basic regexp and this book would be perfect addition.

    Looking forward to hear from you 😀

  12. e-book edition, free the trees 😉

  13. A print edition would be nice :)

  14. I have read the 1st Edition and I can’t wait to have my hand around 2nd

  15. Amazing! Hope to be one of the winners.
    I prefer a printed copy please.
    Thanks mate!

  16. Hey, I would like a print version. Thanks!

  17. Count me in (ebook)!! Regex are surely an interesting topic to tackle and a cookbook is a brilliant idea!Definitely appreciated

  18. I would be most interested in an e-book version. (For free would be a bonus :).

  19. Let me try my luck for a ebook copy ;).

  20. A print copy would be great :-)

  21. Count me in!

  22. I’ve got the first edition, but would love the updates of the second.I’ve got the ebook for the first, so maybe the print book for the second would be good. (I like having both, actually.)

  23. I’d love this as an ebook.

  24. Congrats!

    So, If 23 is my lucky number, send me a print copy 😉

  25. Would just love an ebook copy!

    (will be interesting to see people’s preferences with regard to print or ebook)

  26. I’d love this as an ebook.

  27. Congrats on the 2nd edition, which I’m now craving for.
    If I won copy, I’d like a printed book :)

    Keep up the good work!

  28. I would love an ebook. Regex are the next thing on my learning tech stuff list.

  29. I would love a copy!

  30. Good going… If 90%+ of regexes on the internet have problems, how do we know yours don’t? 😉

    Would prefer ebook if I win

  31. I would be happy to get printed one! Count me!

  32. I’d love to read the print copy of your book!

  33. Looking forward to a print copy. Thank you!

  34. It’s a great idea. A print copy will be awesome. Thank you.

  35. var me = “Wanna have an ebook”;
    /Wanna have an ebook/.test(me);

  36. I would love a print copy!

  37. Woo! How could I *not* enter a chance to win this book from the regex *masters*. Great job on keepin this book up to date Steven.

  38. Good time of the day!

    I’d like a print book. An ideal variant could be both print and electronic ones – I prefer to read print books, but files are really better for reference and search. Anyway, I will be very glad to get any version of it. And in addition I’m going to buy one in translation to my language when it will be printed.

    Thanks in advance!

  39. Great 😀 Ebook, pretty please :)

  40. Hi, I’d love a copy of your book, it sounds fantastic! Anything that can clear up the murky waters of regex would be great. Printed copy please.

    Many thanks,


  41. Uuu, RegEx! I’d love the print copy please.

  42. Hi!
    Print copy could be nice! Thanks for the good work.


  43. The source code and log file seems like a very nice addition. Finally something that will have a great impact in my daily routine.

  44. Print copy.

  45. I would like a printed copy of this book.

  46. Sounds amazing! I’d love a printed copy.

  47. Ebook, yo!

  48. I have the ebook of the previous Verizon and store it my Dropbox. When coding RegEx I’ll often write it myself and then search the Cookbook to see if I missed anything. Email is a perfect example. The authors had done the research and I had better validation for my form.

    I look forward to getting the new ebook edition even if I don’t win it here.

  49. I would love a printed copy!!

  50. I would genuinely appreciate a print copy of this new edition.

  51. I’m thrilled about this new regexp book. It would be nice with a e-book copy.

  52. … Sorry very big fingers make me post twice…
    So I was saying a very good news for the time saving and performant analysis this book will provide, such as have brought me the first edition :)
    I look forward to get the new ebook edition even if I’m not selected to win it 😉

  53. I would like a copy.

  54. Great! E-book copy.

  55. Print please! Looks like a great book!

  56. Sounds great! Regex are really useful.
    Print edition, please!

  57. Good job!!
    I would like to get one of those printed copy!

  58. I would love an ebook copy but a print version would be a nice addition to my bookshelf at work

  59. I would love to have a print copy!

  60. Would love an ebook copy of the book.

  61. I “live in” MS Office apps most of every workday (sound familiar to any of you?), it’s the business thing. Anyway, when trying to work smarter, I am often looking in RegEx reference trying to improve search/replace and VBA scripts. I doubt I’m the only person like this, doing most regex like tasks when banging on MS Office Word (aargh). That should get some content allocation as well.

    I prefer ebooks. I use a Kindle, so mobi is good, but I find myself referring to the PDFs on the PC more often.

  62. Cool beans! I’d love an ebook!

  63. @Scott Thorne, O’Reilly provides DRM-free ebooks in PDF, Mobi, and ePub formats, so you can get all three. :)

  64. Would like print

  65. Ebook please

  66. Wow, would love to have print version

  67. I’d prefer a printed copy of the book.

  68. I’d love the ebook!

  69. I would love to have a print version.

  70. Great. This is, me think, the only regex book that covers JavaScript. (Now send me da book – any format is fine!)

  71. RegEx has literally changed the way I code and I only know the beginnings of what it can do! I’d love to get either version and get a better knowledge on the subject!

  72. Wow. I could use a copy!

  73. Thanks! I want your book!

  74. Count me in for an e-book – I’ve started to scratch the surface of the potential of RegEx and I’d love to learn more.

  75. It will be interesting to see how the 2nd edition compares. I would prefer a print version

  76. Right in time, the previous print version is wearing out here by using it so much. 😉 Although the little RegEx Buddy Owl is present on my taskbar, ready to help me out again, the book is always within reach too.

  77. Loved the last version. Count me in for e-book please!

  78. I’m looking forward to the 2nd edition of this very useful book… Count me in for the ebook or the hard copy

  79. Hook me up with a physical copy!

  80. Thanks for a free ebook!

  81. Wish I were more of a regex ninja, maybe this book can help out!

  82. I look forward to this chance and hope that I can grab one of these print books.

  83. Wow, an ebook would be great. Thanks.

  84. a ebook for regex – sign me in. Awesome work guys.

  85. Oh my, why wouldn’t I want a good book on this subject! Please count me in.

  86. Excellent initiative! I would love to read the new edition :)

  87. How I would love a free copy of “Regex Cookbook 2nd Edition”. I am one of those individuals that prefers to curl up in a quiet corner, study until I have the gist of the chapter in my head, before heading to the computer to put it into practice.

  88. Gotta send something to Saks Fifth Avenue now, just because. Print book.

  89. I’d like a print copy please! :)

  90. I would enjoy an e-book version. Thanks!

  91. I’d really like dead-tree copy 😉

  92. I wanted the Free copy too poor to buy it.

    EBook Copy

  93. I would love an ebook copy!

  94. Me too, me too!!!

  95. I needs this

  96. Great news! I’ll wait to know if I’m one of the winners before to buy it as eBook. Thanks for the job!

  97. It would be great to get one copy!

  98. I’d prefer a printed copy of the book. Thank you.

  99. Print Copy… :)

  100. Wow!!! I am form INDIA :-) This is really great to hear Steven. O’REILLY has been a nice guide for the learners especially.Looking forward the new book releases. Hopefully i would get a chance to win printed version this copy :-)

  101. I’d like an ebook version!

  102. It would be nice to have a free edition 😉

  103. Love the idea.
    Hope to get print copy.
    Thank you very much.

  104. This would make a great addition to my bookshelf. I’d prefer the printed version.

  105. If I’d win, I’d like an ebook :)

  106. I think this is a great addition to everyone who’s interested in regular expressions. If I’m one of the fifteen selected, I’ll prefer an ebook copy of this title. Thanks!

  107. Would be excited to win an ebook copy of your book.
    (If I’m not lucky I’ll most likely buy it at some point! btw regexPal is very useful. Thanks)

  108. it looks a nice new edition with more recipes. Let’s see if I am lucky :)

  109. This is like “euromillions” in Europe but I want a chance!!

  110. I would love to have a printed edition.

  111. A printed version would be best!

  112. I would like a copy of this book.

  113. Sounds like a great and useful resource. Count me in on this random drawing for the free copies, print version preferred!

  114. e-book would be great

  115. Nice, looking forward to the 2nd edition!

    (dead trees for me, please!)

  116. Hey, nice, this will be even more useful than the first edition.

  117. I read a 1st edition. Look forward to read a second one.
    E-book would be fine.

  118. Speedy guys! Count me in, I have 1st ed. Paper please!

  119. I have troubles with regex, but I want to go through it!

  120. Great first edition! Second should be even better!

  121. I love to read this book in a printed version

  122. I need it. (ebook)

  123. I would love to have an ebook copy of your book! Cheers…

  124. I’d prefer a printed copy of the book :-) Please :-)

  125. Using regex more and more. Would really love to have the ebook at my side on my day job

  126. Looking forward to getting a copy of your second edition. I’d prefer an ebook.

  127. I would love to get an ebook 😉
    Great blog btw!

  128. Looks great. Always want to learn more about regex.

  129. This is definitely a must have for my library. An ebook would rock!

  130. I’m new to regex, but I love it’s power!

  131. Regex FTW!

  132. I would love to have a copy of this book!

  133. Can I haz?!

  134. Sounds like a good book.

  135. I would love to have this book! Regex got me into programming. Yeah, that’s kind of weird.

  136. Ebook please!

  137. Great, I’m in. Nice to see the competition open Worldwide :)

  138. ebook please 😀

  139. +1 for ebook :)

  140. Hoping to win 😀

  141. I want in!

  142. I honestly wouldn’t be able to write regex without regexpal. Also print > ebook :)

  143. e-book, please

  144. I’d love a copy!

  145. Sounds like a great tool to learn, and it could help me at work!
    I preffer the print version :)

  146. Printed Version Would Be Great!

  147. I’ve been waiting for the 2nd edition. Winning a print version would rock but I’ll buy it if I don’t win. Nice work on XRegExp too!

  148. I loved the first edition of this book, and still use it as a frequent resource to this day.

  149. I would love a print copy!

  150. Sounds great! And as with everyone else here, I would love a free copy too!

  151. Would love an eBook version! Thank you.

  152. I would love to get a printed copy. Thanks for making this contest!

  153. I would love to get a printed copy. Thanks for making this contest!

  154. Hi,
    I haven’t read the first edition but interested to learn regex from the cookbook 2nd edition.

    Thanks in Advance!!

  155. Its great to have copy of 2nd edition. Count me..

  156. Hi,

    Would like to get the printed version.


  157. That book will be great improvement in my regex learning 😉 Count me in print edition copy 😉

  158. would love to have a print copy :)

  159. I’m really looking forward to the 2nd edition of your book. I’ve always found regular expressions to be especially intriguing because of their concisiveness (compared to common string parsing). Your and Jan’s website have been a great source for learning and I’m really interested in the book to delve deeper and have a reference handy.

  160. Regex are great. Would like to get a copy! :)

  161. It is good to get a print copy

  162. Would love a good regexp reference (print copy) like this one :).

  163. Regex forever !
    Would love to win an ebook copy :p
    Thank you !

  164. RegExp is really good.
    All is possible when you have a good logic and regex in your hand :)
    And i dont say only in web, but in all programming.

    I’m sorry for my poor english.

    Thanks in Advance!!
    ps: eBook 😉

  165. A print copy of this would be very helpful!

  166. Beginning to really get into Regular Expressions. Looked at purchasing a few… but winning this would be awesome!

  167. I need this book. Don’t make me buy it! Thanks.

  168. My reg ex skills are, frankly, an embarrassment. I really need this to sit right by my desk for easy reference; I promise it will be well-used.

  169. A book on Regular Expressions…yes, please. :)

  170. A new edition! Awesome. Now when’s pay day…

  171. I will love to have a read on that e-cookbook to improve my cooking, I meant, regex.

  172. I would love a copy! :]

  173. Been using Regular Expressions more and more in my daily work. Would love to get my hands on this book. Any edition (print/e-book).

  174. Would love a print copy. Own the ebook of the 1st ed. already :-)

  175. Ebook, please.

  176. There is a lot of interested persons, huh? I’d prefer print copy. And good luck to all!

  177. I would so love a print copy for growing my data slice-and-dice skills

  178. I would like a e copy.

  179. A book on regular expression ! Definitly a must.

  180. I would love a free copy in any format. Thx!!

  181. I’m game. Ebook would be fantastic.

  182. I would like a print copy

  183. I’d love to give this book a go, I’d prefer a print copy :)

  184. I would prefer a print copy. Thank you.

  185. Count Me in .Ebook would be great.

  186. I’d love to have a print copy!

  187. A print copy would be nice.

  188. Sounds good to me. Printed edition here.

  189. Something I should have had a LONG time ago.

  190. An ebook please.

  191. I’d like an eBook copy!

  192. Would love an ebook. This is something I really need to get a better grasp of. Thanks for the contest!

  193. I would love an ebook copy!

  194. Thanks for writing this book. A printed copy would be great if I win.

  195. I love me some RegEx. I’d love a paper copy.

  196. Hey if you pick me which you will I would like a printed copy.

  197. I’d love to get a copy.

  198. Print copy, please.

    Thank you for doing this!

  199. Hi, I would like to receive a printed version.

  200. Hi, I would like to receive a printed version too!!!

  201. I’d like an eBook copy!

  202. Hi, I would like to receive a printed version toooooooooooooo!!!

  203. Print copy please. Thanks!

  204. Hi,

    A printed copy would be nice!!!

    Thank you.

  205. I would like to receive a printed version too…

  206. Sweet Regular Expression Goodness, I would love a print version.

  207. Print copy please.


  208. contest? count me in!

  209. Hi, I would like to receive a printed version too!!!

  210. I need regular expression knowledge in print.

  211. Hi, I would like to receive a printed version too.

  212. I’d like a copy! I have a table that has a short leg and I’m tired of it wobbling. :)

  213. I want a copy, too.. :)

  214. Hi,
    I like a printed copy too.

  215. I prefer an ebook version. Count me in.

  216. A printed version for me

  217. Regular Expressions are still an almost complete mystery to me. Thanks for writing this.

  218. Would love a regex cookbook

  219. I would appreciate a copy of this book. Nothing says search the internet, for me, like having to come up with a regular expression for something. I owuld prefer an ebook.

  220. This regex cookbook would be a great help!

  221. I use simple Reg Exes every other day at work, but I’d love to have a Reg Ex holy book to refer to and learn new things along the way! Thank you for writing. I would like a printed copy if I’m picked. Thanks!

  222. A Printed version of your book would be quite helpful. Thanks! And best of luck in California!

  223. I would like to be entered to win a print version. Thanks!

  224. A print edition would be awesome.

  225. Regex has saved me time and again from what seemed the impossible. There’s always more to learn, would love to win!

  226. I would love to get a copy of the ebook too.

  227. Ebook would be the best!

  228. I’d love to get a print copy for the office library!

  229. I need to be a better developer so I would really apreciate a printed copy.

  230. Very excited to expand my regex skills! Just finished putting one together to help me parse a log file. So friggin useful.

  231. I’m sure the ‘small’ start-up will rapidly grow with your help. Everyone will be talking about it!

  232. I’ve copy/pasted so much regex in my career (which I had no idea why it worked) that I think it’s time to get a better understanding. It would be awesome to demystify that a bit.

    I’d prefer an ebook!

  233. Thanks for the awesome giveaway! I’d love a print copy if the Lords of Cobol favor me.

  234. I am interesed in your book. Regex is to programming like neuron synapsis to good ideas!

  235. Would really love a copy of the ebook.

  236. I’d love a print copy please :)

  237. Judging by the blog content, the book is great! Would love to get my hands in a copy. Thank you!

  238. Things are changed when i met with regex as sytem admin and web app developer. I will be appreciate if i can get a copy for self-improvement.

  239. I’d be honored to receive a copy of your book.

  240. I would love to read the ebook version.

  241. I would prefer the print edition

  242. Free book would be awesome.

  243. Thanks for running this contest! Would love to win a print copy.

  244. Anna…I’d love one.

  245. I’d like a print version.

  246. Regular Expressions are great, I like to use them more in my ColdFusion projects. Found your post though Ben Nadel’s blog!

  247. Wish to be in your random list…….

    Thanks for the book

  248. s/Put me in the running please?/!!/
    I would prefer a print version (either would be greatly appreciated)

  249. I recently began using RE for categorizing bounced email messages. It would be great to have the book to increase my RE skills!
    Thanks for the chance to get it for free!

  250. I’m a RegEx amateur. Need printed version please!!

  251. I would kill (figuratively 😉 ) for an e-book copy!

  252. This has been on my list of things I wanted to learn so this is amazing coincidence that your are offering this. A book copy would be a great start to continuing to expand my knowledge.

  253. An eBook copy would help me greatly!

  254. I NEED this book! Thanks!

  255. free is good!

    especially great material for free

  256. It would be great to read professionally written book on regex topic. Either paper or digital versions are OK.

  257. Coolness! That’s the book I’d like to have handy!
    Should I be included in the list of the lucky one, I’d love to get an e-version.

  258. Sounds awesome! I’ll take a print copy.

  259. That’s a nice book to have. I really want to have the book. I would like the ebook version (save paper 😉 )

  260. It really seems to be an awesome book! I’d have a print copy.

  261. This book and the accompanying website are great resources to learn about the regular expression. It can also be helpful for the students of Automata theory. They can have hands-on experience rather than paper work or on guess. I recommend this book and website for the students and practitioners.

  262. RegEx is one of the things I always pretend I know because I am embarrassed to say I never learned it. Maybe if I win a copy of this book I can stop pretending!

  263. This book is very value able and helpful for regular expression learners. I needed printed copy of this book as i am Learning purposes.

  264. WOW, It’s great, new stuff will learn from this new version,


    I prefer e-book.

  265. Hi. Nice idea. A printed copy would be great.

  266. Great going! I’d prefer a printed version

  267. Regular expressions have help me a lot in my previous projects and will be needed in my new project which relies mainly on string manipulation and regular expressions. So, i need this e-book ASAP.

  268. It’s probably a good idea to send a printed copy of that book to the UK. I don’t mind looking after it.

  269. I would love a print copy of this book.

  270. Although I do consider myself at least mildly proficient with Regex already it never hurts to learn some more :)

  271. I would love a print copy of the book.

  272. I’d like to have a print copy of this book to share with my colleagues

  273. I’d love a copy!

    s/Comment by .* on /Comment by Sam Hasler on /g

  274. I really need to learn more about regEX, i am way behind it this and it probably hurts my coding…guess either way I should get this book…

  275. its a winner

  276. A Print copy would be fantastic. Thanks for doing this.

  277. I would like to read this book.

  278. awesome, i would prefer a printed copy.

  279. I love reading tech books.

  280. I would really be happy if the random would choose me ! 😛

  281. Please, count me in ebook version! Regex is an interesting subject for any developer.

  282. I would love a printed (author signed) version!!! Greetings from Germany!

  283. What a deal! Would love any copy of the book.

  284. Thank you for doing this :)

  285. +1 for doing this!

  286. I would be happy with an ebook version myself. Thanks for the contest!

  287. Your first edition is a superb book. Congratulations!

  288. I would really love a copy – I badly need to learn RegEx.

  289. I would love a print copy. (Laminated, if possible, so that I can read it on the beach.)

  290. Wow, getting a book like this would really make my day =)

  291. I’m so excited about this e-book. Thanks for the contest!

  292. Count me too!

  293. I would love to have a copy of this book!

    Thanks for the chance to win.

  294. Having a good knowledge of regular expressions is extremely useful and can make many programming tasks much easier. It would be great to have your regex cookbook in my programming library. Thank you!

  295. Looks like a great book! Hoping I win a copy :). Physical books are still the way to go for me :)

  296. regex, you will not conquer me (as long as I win a free book).
    A print copy would be cool.

  297. I have a love/hate relationship with RegEx, If I win the book, it might get a little more love!

    I would prefer print, the one time I will really need a regex reference the e-reader will be on the fritz, I just know it!

  298. An ebook pls. :)

  299. Definitely something I would use frequently. I would love a print copy of this book.

  300. I am also interested in this publication.
    I forgot to mention I would prefer a print copy. Now, off to the theatre.

  301. I also want a printed copy. Hope to be a lucky one.

  302. Great contest! I could go with eBook or print version, whichever is easier.

  303. Hungry for knowledge
    Lover of free
    Please, oh please,
    Do pick me

  304. I am very interested in read Regex Cookbook 2nd edition.

  305. Thanks for doing this!!!!

  306. Cool I would love a print version of it!

  307. I’ve been following your insane ability in regex since I first picked up EditPad Pro … I can’t wait to read the new book … Sucks that I’m no where near the first fifteen … I’ll definitely be getting the book one way or the other … Regular Expressions have been the catalyst to all things successful in my programming career …

  308. i’d love to win a copy of this book (preferably the print version) regex is uber essential!

  309. @Steve Congratulations on your new gig … the devs over there are going to hate on your skillz like mad … 😉

  310. I’ve always *loved* regexp, though I certainly could improve a lot thanks to this book ! I’d love to win an e-book copy of it !

  311. I was asked a question about regular expression in one of my job interviews. This book would help me.

  312. I’d love to win a copy and get my regex’s on 😉

  313. I really loved the first edition. Would love to get started on the 2nd! Cheers from the Netherlands

  314. Good morning

    Strangely enough, although regex is such a versatile and useful tool, I don’t actually get to use it as much as I would wish during my day to day work life. If I could be lucky enough to own a copy of Regex Cookbook, I’d like to own a printed copy, to always have it handy (I find that ebooks tend to find a folder on my pc, and generally settle there…I am still to acquire a decent ebook reader).

    Kind regards

  315. I hope it’s not too late to participate !

  316. I love to win one !

  317. nice job

  318. Hey, i want my one too :)

  319. I love regex and also read the 1st edition one.
    Would prefer an e-book version one so easier to read in tablet. 😉
    Cheers from a Hong Kong reader here. :)

  320. Certainly, the best book on regex.

  321. eBook for me.

  322. I would love to win a copy 😀 *fingers crossed*
    Oops, forgot to mention I would prefer an eBook copy if I win!

  323. I always loved reading the O’Reilly books. They are always filled with knowledge and so useful throughout my day. Hopefully I can get a e-copy of this book to add to my O’Reilly collect.

  324. I’l love a printed copy

  325. count me in!

  326. Yippie! Exactly what I need. I would like to be enetered into the contest for the book!

  327. I’d love a big old printed copy. The better to impress those who walk past my desk at work and see my geek cred. 😀

  328. I’ve heard version 1 was amazing. I’d love a printed copy if I’m selected.

  329. RegexPal brought me here! I’d love to win a printed copy!

  330. Thank you for the awesome work you done !

  331. I have the first edition — love it!

    How are you going to extract the submission names from this page? Surely not regexes on HTML!?!?!!

  332. I’d like the chance to win a printed copy.

  333. I would absolutely love an ebook copy. I am just getting started with regular expressions and am quickly learning the immense power they hold.

  334. I’d really like to win the book, so count me in

  335. I would love this read this book since I’m still learning on how to create reg ex.

    Hope I’ve got one.


  336. If I get an e-book I will start believing in miracles because there are already 500 people commented instead of 15 :)

  337. I use regex everyday. I would love a printed copy of this book!

  338. I want this book! 😀

  339. I guess there is no chance of a signed version :)

  340. Hi Steven,

    Congrats on the new job at Facebook! You are a regex whiz and this book will be gold. If I happen to win a copy, I’d prefer print.


  341. Congratulations Steve,
    This is a great book to posses. Will be glad to have one.
    Prefer a printed copy.

    Expecting more such books.


  342. Good luck on the new opportunity. Kudos to all regex gurus like you who are willing to help the rest of us muddle through it because we have to. If I happen to win a book, I’d prefer a print copy.


  343. This is one book I really need…regular expressions are a mystery to me!

  344. OoOoOoOo… I do wish to own a copy of this book.

  345. Loved the first one, dog-eared, coffee stained and loaded with about a billion post-its for my favorites. Cook-book is an understatement, it is a life preserver! Thanks for the great resource!

  346. Yes, please. Want. Regular expressions to me are like me and the Force. I recognize they can be very powerful, but I have not yet been to Dagobah.

  347. print copy please!

  348. Would love to get a copy in print. Count me in too! :)

  349. Awesome!! Would love a copy of this book!! Count me in.

  350. Regex to the rescue! Would be nice to read in print

  351. s/i wish i owned an ebook of the regex cookbook/i am a proud owner of the regex cookbook/g

  352. Time to dive into regex!

  353. Count me in! (e-book copy)

  354. pls sign me in

  355. Help me improve my regex!

  356. Good Luck! Love your book!

  357. Yes please :-)

  358. Beeing a student working with perl scripts – I could really use this great book to deepen my insights in regex!

    Thanks for the opportunity to sign in! Regards, Robert

  359. I’d be glad to have one.

  360. I love regular expressions, so would be great to have one too. :)

  361. Doing regular expression work, so would be great if I could get a printed copy of the book.

  362. I would like a copy! in print please 😀

  363. put me in the draw for an ebook

  364. I would love to have one copy please. It will really help in my current project.

  365. Please put me in the drawing for an eBook version. thanks.

  366. I learned rudimentary regex skills early in the ’90s. I don’t think a week goes by where I pull some magic regex shortcut out of my skills hat. I’m really looking forward to expanding my skills with thev2nd edition of the Cookbook.

  367. I love this http://www.regexpal.com/ web for writing data provider files for matching billing page.

    If i got this free Book i am very happy to read and give suggestion also.

  368. Unix/Linux user of regexes since the eighties. Time to get that ebook :-)

  369. I would like to try for a free copy. by date I think I’m out, but http://regexpal.com/ site mentioned today is the last day..

  370. one copy for Kindle, please

  371. comment :)

  372. hi,
    I need an ebook copy.

  373. I’ve used (and continue to use) regular expressions in Perl, JavaScript, PowerShell and ColdFusion. It amazes me that I can still find “good stuff” like the examples in Steven’s “Regular Expressions Cookbook 2nd Edition”, but it shouldn’t. This is a must-have for the technical bookshelf…

  374. Thank you for sharing your info. I really appreciate your efforts and I will be waiting for your further write
    ups thanks once again.

Post a Response

If you are about to post code, please escape your HTML entities (&, >, <).