summersale2015 Hier klicken mrp_family studentsignup Cloud Drive Photos Professionelle Fotografie2 Learn More praktisch UrlaubundReise Shop Kindle Shop Kindle Artist Spotlight SummerSale
In weniger als einer Minute können Sie mit dem Lesen von Regular Expressions Cookbook auf Ihrem Kindle beginnen. Sie haben noch keinen Kindle? Hier kaufen oder mit einer unserer kostenlosen Kindle Lese-Apps sofort zu lesen anfangen.

An Ihren Kindle oder ein anderes Gerät senden


Kostenlos testen

Jetzt kostenlos reinlesen

An Ihren Kindle oder ein anderes Gerät senden

Der Artikel ist in folgender Variante leider nicht verfügbar
Keine Abbildung vorhanden für
Keine Abbildung vorhanden

Regular Expressions Cookbook [Kindle Edition]

Jan Goyvaerts , Steven Levithan
5.0 von 5 Sternen  Alle Rezensionen anzeigen (2 Kundenrezensionen)

Kindle-Preis: EUR 26,66 Inkl. MwSt. und kostenloser drahtloser Lieferung über Amazon Whispernet

Kostenlose Kindle-Leseanwendung Jeder kann Kindle Bücher lesen  selbst ohne ein Kindle-Gerät  mit der KOSTENFREIEN Kindle App für Smartphones, Tablets und Computer.

Geben Sie Ihre E-Mail-Adresse oder Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.

Weitere Ausgaben

Amazon-Preis Neu ab Gebraucht ab
Kindle Edition EUR 26,66  
Taschenbuch EUR 46,45  

Kunden, die diesen Artikel gekauft haben, kauften auch

Seite von Zum Anfang
Diese Einkaufsfunktion wird weiterhin Artikel laden. Um aus diesem Karussell zu navigieren, benutzen Sie bitte Ihre Überschrift-Tastenkombination, um zur nächsten oder vorherigen Überschrift zu navigieren.



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.

This revised edition covers the regular expression flavors used by C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET. You’ll learn powerful new tricks, avoid flavor-specific gotchas, and save valuable time with this huge library of practical solutions.

  • Learn regular expressions basics through a detailed tutorial
  • Use code listings to implement regular expressions with your language of choice
  • Understand how regular expressions differ from language to language
  • Handle common user input with recipes for validation and formatting
  • Find and manipulate words, special characters, and lines of text
  • Detect integers, floating-point numbers, and other numerical formats
  • Parse source code and process log files
  • Use regular expressions in URLs, paths, and IP addresses
  • Manipulate HTML, XML, and data exchange formats
  • Discover little-known regular expression tricks and techniques

Über den Autor und weitere Mitwirkende

Jan Goyvaerts runs Just Great Software, where he designs and develops some of the most popular regular expression software. His products include RegexBuddy, the world's only regular expression editor that emulates the peculiarities of 15 regular expression flavors, and PowerGREP, the most feature-rich grep tool for Microsoft Windows. Steve Levithan works at Facebook as a JavaScript engineer. He has enjoyed programming for nearly 15 years, working in Tokyo, Washington D.C., Baghdad, and Silicon Valley. Steven is a leading JavaScript regular expression expert, and has created a variety of open source regular expression tools including RegexPal and the XRegExp library.


  • Format: Kindle Edition
  • Dateigröße: 2672 KB
  • Seitenzahl der Print-Ausgabe: 612 Seiten
  • Gleichzeitige Verwendung von Geräten: Keine Einschränkung
  • Verlag: O'Reilly Media; Auflage: 2 (13. August 2012)
  • Verkauf durch: Amazon Media EU S.à r.l.
  • Sprache: Englisch
  • ASIN: B008Y4OP1O
  • Text-to-Speech (Vorlesemodus): Aktiviert
  • X-Ray:
  • Word Wise: Nicht aktiviert
  • Erweiterte Schriftfunktion: Nicht aktiviert
  • Durchschnittliche Kundenbewertung: 5.0 von 5 Sternen  Alle Rezensionen anzeigen (2 Kundenrezensionen)
  • Amazon Bestseller-Rang: #177.535 Bezahlt in Kindle-Shop (Siehe Top 100 Bezahlt in Kindle-Shop)

  •  Ist der Verkauf dieses Produkts für Sie nicht akzeptabel?

Mehr über den Autor

Entdecken Sie Bücher, lesen Sie über Autoren und mehr

Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?


4 Sterne
3 Sterne
2 Sterne
1 Sterne
5.0 von 5 Sternen
5.0 von 5 Sternen
Die hilfreichsten Kundenrezensionen
5.0 von 5 Sternen Express yourself! 3. September 2013
Von bernie
I have several Regular Expressions books; most of them are from O’reilly.
However the others are more focused on various unix/c environments.

Yet one cannot concentrate on operating system and ignore what they operate on. This book covers a wider environment that is encounter mostly in websites and occasionally in specific industries (C#, Java, JavaScript, PHP, Perl, Python, Ruby, and VB.NET.) You learn that regular expressions even though indispensable are not necessarily uniform in syntax.

You can tell that this was not written in a laboratory or an ivory tower and the recipes are not just practical but the ones you will be challenged within the real world.

Do not tell anyone but I have fun reading this book in advance of a change to see the possibilities be for the questions arise.

While you are being mesmerized by regular expressions you are also being exposed to different environments; some you will be familiar with and others will make you say where have I been? To name a few various editors, the different languages themselves if you have not had a chance to experiment, each chapter tattle is a different concept or valid reason to use regular expressions.
War diese Rezension für Sie hilfreich?
5.0 von 5 Sternen Sehr gutes Buch 10. Oktober 2012
Von Sigi
Format:Kindle Edition|Verifizierter Kauf
Finde das Buch super. Viele fertige Regex um sofort Erfolg zu haben. Man spart sich so sehr viel Zeit und bisher habe ich bei der Verwendung keine Fehler gehabt.
War diese Rezension für Sie hilfreich?
Die hilfreichsten Kundenrezensionen auf (beta) 4.5 von 5 Sternen  24 Rezensionen
10 von 10 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen The ultimate regular expressions cheat sheet 19. September 2012
Von Michael Kim - Veröffentlicht auf
The authors say it best when they say that the book is intended for those who:

"regularly work with text on a computer, whether that's searching through a pile of documents, manipulating text in a text editor, or developing software that needs to search through or manipulate text."

The first three chapters of this book cover useful tools, basic regular expression skills, and programming with regular expressions. Chapters 4 through 9 contain the practical regular expressions recipes. The programming languages that are covered in this book are C#, Java, JavaScript, PHP, Perl, Python, Ruby, and VB.NET. Every recipe that is in the book has solutions and explanations for all eight languages.

The recipes are organized and easy to look up. For example, finding regular expressions that deal with validation, words, lines, URLs, and etc can be easily located in the table of contents. The author's tone is straightforward, direct, and informative. This is not the kind of book where you read from start to finish, but rather a book where you just skim through to find the recipe that you need in whatever given situation.

With all the languages that the book covers, there are just too many languages to put into a single book. I feel as though instead of having a book with all the languages, it would be better to have a book with a single language. However, I must give praise on how well the authors were able to consolidate detailed solutions in 8 programming languages.

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.
11 von 12 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen if you have regular contact with regular expressions, you need this book 4. September 2012
Von R. Friesel Jr. - Veröffentlicht auf
Although I run the risk of fawning all over this book here, Jan Goyvaerts and Steven Levithan's "Regular Expressions Cookbook (Second Edition)" (O'Reilly, 2012) 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. [1] If your work brings you in regular contact with regular expressions, then you need easy access to this book.

To begin with, Goyvaerts and Levithan present an in-depth discussion of each regex feature, starting with the very basics (e.g., making matches against literal expressions) and working up into some pretty sophisticated topics (e.g., writing parsers). True to the title, their approach is a "cookbook" style: a general problem is stated, a solution is presented (or multiple solutions, if that's what it takes), and then they go into an almost painful (but neatly sectioned) level of detail about the solution, describing it token-for-token in some cases. Now, by "neatly sectioned" I mean that their discussion of each solution is broken down by language [2] wherein they are careful to point out flavor- and/or language-specific nuances, quirks, bugs, and/or unique features. They are very careful about this part--if a particular feature does not work in a language (e.g., how JavaScript lacks named capturing groups) then they show you how to work around that deficiency; but perhaps more importantly, if a feature is unique to a language, they point it out as such and caution you against using them (i.e., to keep your regexes general and portable). [3]

Later chapters (i.e., 4 through 9) look at more specific problems--e.g., performing validation on email addresses, [4] dealing with Roman numerals, combing for text in the Apache Common Log Format, or parsing URLs. The recipes are all cross-referenced with each other, so if a particular solution really only solves about 75% of your problem, they're prepared to point you in the right direction. They get right to the point, and then tell you where to go for more. What else can be said about these chapters except that they're like the magnificent arsenal you'll be wishing for when the text zombies swarm at your gate.

All of this makes the "Regular Expressions Cookbook" very skimmable. It is easy to pick it up, find the particular recipe that is going to help you out of a jam, and power through with that solution in hand. Do you "just" need a quick JavaScript solution? Done. Curious how it might compare to the solution in Java or Ruby? No problem. You skim the surface, or you can go as deep as you need [5] on some very narrow and specific sub-sub-subject within the corpus of regular expressions knowledge. (That being said, take their advice and be sure to read the first three chapters so that you *are* properly equipped for those deep dives later on.)

As I said before, if your work regularly brings you in contact with regular expressions, you'll want to arm yourself with this. Highly recommended.


[1] Goyvaerts and Levithan define the regex flavors as: .NET, Java, JavaScript, PCRE, Perl, Python, and Ruby; the specific languages covered include: C#, Java, JavaScript (and Levithan's XRegExp library), PHP, Perl, Python, Ruby, and VB.NET. They also have a list in chapter 3 of 11 other languages which--while not specifically covered--are applicable because they adhere to one of the flavors.

[2] I should add "where appropriate" here, and note that the per-language sections in each discussion are much more common in the early chapters (2 and 3, with a pretty sharp drop-off starting in 4). This is because they're covering the fundamentals, and there's a lot more in the way of quirks and nuances to tread lightly around at this point.

[3] In other words: they remind you not to get too clever. "Sure you could do that as a one-liner... but no one's going to know what that means next week. Not even you."

[4] Which, validating an email address is not as easy as it sounds.

[5] Or as deep as you want, if you're in to that sort of thing.
10 von 12 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen Good Tools 1. September 2012
Von Eric Chou - Veröffentlicht auf
O'Reilly cookbooks are awesome. But just like I don't read the recipes cover-to-cover in regular cookbooks, I don't read all the recipes in the O'Reilly cookbooks either. Also just like regular cookbooks, the day before Thanksgiving is not a good time to open the cookbook for the first time, I at least glance thru all the recipes to know what is there, pick out a few that I can use right away, and dog ear the ones I think I will come back to. So here are the criteria that I review this book with:

1. Easy Navigation: Yep, this book is easy to navigate. If I need to do, say form validation, I know I should start at Chapter 4 "Validation and Formatting".
2. Clear and precise explanation: Yes, I think the explanation are short and precise to the topic of discussion.
3. Pointer for more information: This is hard to do, but the book has a section on "See Also" for correlation between recipes and a general pointer toward 'Master Regular Expression' in the introduction chapter.
4. Easy Reading: Hum.. here is more of a wish list of mine, I wish the book is broken down into different books by language. The book covers these languages, VB.NET, C#, Java, JavaScript, XRegExp, PHP, Perl, Python, and Ruby. I typically skip down to Python and occasionally stop at C# and PHP. The book is over 600 pages and listed at $49.99. I would have been happy to pay 1/5 of the price to get one that just focus on Python, and another 1/5 of the price to get one on PHP.

All in all, it is a good value and a keeper on the bookshelf. But I really think it should be broken down into language-specific cookbook as most reader probably use only one or two languages on a daily basis. With today's print-on-demand, e-book format, I think it would be very minimal work for the author and a whole lot of less skipping for the readers. Just my 2 cents.
4 von 4 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Great overview and lots of specific usage 25. September 2012
Von Travis Hardiman - Veröffentlicht auf
I first started using regular expressions about 10 years ago. I started using them more in depth about 3 years ago. There are tons of guides and examples online, but it's hard to weed out the ones that work well from the ones that are potentially catastrophic. I had high hopes when the Stack Overflow community came about, however questions there about Regular Expressions are frequently shunned and down-voted with suggestions to use lexers and DOM parsers instead.

I had been following Steven Levithan's blog for many years and I was excited to hear that a new version of the Regular Expressions Cookbook was coming out. I was even more excited to have won a free copy from a blog post on his site! Going through the examples in this book and playing around with the patterns in software (I use Expresso), has really enlightened me to some of the fairly advanced concepts that have eluded me over the years.

The only negative things I can say is that there's a screenshot of a web site on page 15 that appears to be incorrect, and there were a couple of minor typos. I realize that these are very trivial things to complain about, but this is the second edition, so I would've expected that these things would've been caught in the process. I'd only take off half a star for that though, since the rest of the book has been so helpful.
3 von 3 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Very well written, comprehensive, accessible, and useful 25. November 2012
Von Summer2015 - Veröffentlicht auf
Format:Taschenbuch|Vine Kundenrezension eines kostenfreien Produkts (Was ist das?)
Published three years after the first edition, this second edition of Regular Expressions Cookbook has been revised and updated to include the following changes:

(1) Chapter One, Introduction to Regular Expressions, still kicks off the book with an explanation of the role of regular expressions in text processing and a list of recommended tools for working with regular expressions, but the list has been updated to drop coverage of tools not supported all that well anymore, while adding coverage of new tools or libraries that readers may find useful, such as Steven Levithan's XRegExp library for Javascript programmers who need workarounds for Javascript's current lack of support for certain regular expressions capabilities. As in the first edition, many of the mentioned tools are Windows centric, some work online only, and some are tools published by the authors of this book

(2) Chapter Two, Basic Regular Expression Skills, is still a concise but very thorough discussion of building-block and more advanced regular expression concepts (e.g., possessive quantifier or atomic grouping, named capturing groups, lookahead and lookbehind, etc.), but the discussion of differences in engine implementations and feature support has been updated to include coverage of additions or improvements available in the latest versions of, for example, the Python (3.x), Java (7.x), and DotNet (4.x) languages. The expanded coverage also includes discussion of how Javascript programmers can use the above-mentioned XRegExp library to work around Javascript's current lack of support for certain regular expressions capabilities

(3) Chapter Three, Programming with Regular Expressions, discusses coding techniques and provides updated code listings and templates for using regular expressions in each of the eight programming languages covered in this book. (Note: the source code listings and templates are available for download at the book's website, the url for which I am providing in the Comments section -- rather than the text proper -- for this review.)

(4) The remaining chapters in the book contain recipes for solving real-world problems such as validating credit card numbers, extracting various parts of a url, and processing the contents of different file formats (e.g., XML, CSV), etc. A new chapter on tricks and techniques for processing Source Code and Log Files has been added, and some of the existing chapters from the first edition have been revised to include new problems and recipes. As in the first edition, all problems and solutions are explained clearly and concisely, and tips regarding efficiency and/or gotcha's are provided.

The review I wrote for the first edition of this book still applies to this second edition. In my opinion, this book is very well written, comprehensive, accessible, and useful. The book's contents have been structured and organized thoughtfully, and readers will find the cross-referencing of related recipes very helpful.
Waren diese Rezensionen hilfreich?   Wir wollen von Ihnen hören.
Kundenrezensionen suchen
Nur in den Rezensionen zu diesem Produkt suchen

Kunden diskutieren

Das Forum zu diesem Produkt
Diskussion Antworten Jüngster Beitrag
Noch keine Diskussionen

Fragen stellen, Meinungen austauschen, Einblicke gewinnen
Neue Diskussion starten
Erster Beitrag:
Eingabe des Log-ins

Kundendiskussionen durchsuchen
Alle Amazon-Diskussionen durchsuchen

Ähnliche Artikel finden