Regular Expressions Cookbook: Detailed Solutions In Eight Programming Languages

Paperback | September 6, 2012

byJan Goyvaerts, Steven Levithan

not yet rated|write a review

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

Pricing and Purchase Info

$54.42 online
$64.95 list price (save 16%)
In stock online
Ships free on orders over $25

From the Publisher

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...

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.St...

other books by Jan Goyvaerts

Format:PaperbackDimensions:612 pages, 9.19 × 7 × 1.29 inPublished:September 6, 2012Publisher:O'Reilly MediaLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1449319432

ISBN - 13:9781449319434

Look for similar items by category:

Customer Reviews of Regular Expressions Cookbook: Detailed Solutions In Eight Programming Languages

Reviews

Rated 5 out of 5 by from Deep dive into Regex. Just what you need for the intermediate to advanced Regular Expression user 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 Media. The book guides you with great detail through specific examples ranging from a ground up view of simpler expressions, right though to deep dive samples that are presented not only with great detail, but also by platform to highlight some small but key syntactical differences. This is not a light read, but for what you get from this book it is worth the time you invest because of the skills that you will walk away with. For newcomers to Regex you will want to dip your toes in the water a bit before you delve into this book. Don’t let the depth of detail overwhelm you. The cookbook delivery is a great way to lead by example through some really great Regex content. This will be a well used book on my bookshelf.
Date published: 2012-09-26

Extra Content

Table of Contents

  • Preface
  • Chapter 1: Introduction to Regular Expressions
  • Chapter 2: Basic Regular Expression Skills
  • Chapter 3: Programming with Regular Expressions
  • Chapter 4: Validation and Formatting
  • Chapter 5: Words, Lines, and Special Characters
  • Chapter 6: Numbers
  • Chapter 7: Source Code and Log Files
  • Chapter 8: URLs, Paths, and Internet Addresses
  • Chapter 9: Markup and Data Formats
  • Colophon