Regular Expression Recipes for Windows Developers and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Regular Expression Recipes for Windows Developers: A Problem-Solution Approach
 
 
Start reading Regular Expression Recipes for Windows Developers on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Regular Expression Recipes for Windows Developers: A Problem-Solution Approach [Paperback]

Nathan A. Good (Author)
3.8 out of 5 stars  See all reviews (5 customer reviews)

List Price: $39.99
Price: $30.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $9.60 (24%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, February 14? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $17.59  
Paperback $30.39  

Book Description

May 26, 2005 1590594975 978-1590594971 1

Regular Expressions are an essential part of programming, but they can be hard to come to grips with. Regular Expression Recipes for Windows Developers contains over 100 of the most popular regular expressions, along with explanations of how to use each one. Languages covered include JavaScript, VB, VB.NET, and C#.

The author provides concise syntax references as needed, and enables the reader to learn more about regular expressions by example. Web and applications developers will find the examples in this book accurate and relevant. This book will be an ideal solutions guide for a developer or systems administrator to keep in a handy place for quick reference.


Frequently Bought Together

Regular Expression Recipes for Windows Developers: A Problem-Solution Approach + Sams Teach Yourself Regular Expressions in 10 Minutes + Mastering Regular Expressions
Price For All Three: $68.31

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Sams Teach Yourself Regular Expressions in 10 Minutes $10.84

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Mastering Regular Expressions $27.08

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

NATHAN A. GOOD lives in the Twin Cities area in Minnesota. He is a Senior Software Engineer for Digital Marketing. When he is not writing software, Nathan enjoys building PCs and servers, reading about and working with new technologies, and trying to get all of his friends to make the move to open source software. When he’s not at a computer, he spends time with his family, his church, and at the movies.


Product Details

  • Paperback: 400 pages
  • Publisher: Apress; 1 edition (May 26, 2005)
  • Language: English
  • ISBN-10: 1590594975
  • ISBN-13: 978-1590594971
  • Product Dimensions: 9.5 x 7.1 x 1 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Best Sellers Rank: #143,977 in Books (See Top 100 in Books)

 

Customer Reviews

5 Reviews
5 star:
 (2)
4 star:
 (1)
3 star:
 (1)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (5 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

18 of 18 people found the following review helpful:
3.0 out of 5 stars Too much source code, not enough regular expressions, October 20, 2005
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
When I saw the title of this book, I was excited at the prospect of a book filled with detailed regular expression examples. Unfortunately, it didn't pan out that way.

Spread over a whopping 359 pages, the book lists exactly 100 tasks that you can accomplish with a regular expression. As the solution, the author not only gives a regular expression, but also a complete source code snippet in C#, VB.NET, JavaScript and VBScript. Not all solutions have snippets in all languages. Some solutions also have a snippet for ASP.NET.

Obviously, the examples have a heavy bias towards Windows and .NET. If you're using open source languages, you may want to look at this book's precursor "Regular Expression Recipies" instead. It's essentially the same book, with almost the same list of recipes, but with examples in Perl, PHP and Python.

Each recipe also has a "how it works" section, essentially transcribing the regular expression in English, similar in approach to RegexBuddy's plain English regex trees, though the book uses a flat description rather than a tree. The descriptions are brief though. While all the source code snippets easily take up two or more pages per recipe, the explanation is often barely half a page long.

The book does suffer from some sloppy editing. The regular expression in the source code snippets isn't always identical to the one in the description. E.g. in recipe 6-21, the JavaScript snippet uses named capture, and the explanation then proceeds to explain a regex without named capture (which isn't supported by JavaScript). Most of these issues are trivial, but it isn't good for a book that's obviously aimed at beginners.

Most of the recipes solve rather basic problems, organized in six chapters. The first, "Words and Text", deals with finding blank lines, repeated words, words at the start or end of a line, etc. The "URLs and Paths" chapter has examples for finding URLs and file paths, and extracting bits from them. The "CSV and tab-delimited files" has a few recipes for converting between the two and extracting fields.

The "Formatting and Validating" chapter shows how to validate numbers, currency, dates, phone numbers, addresses, etc. The "XML and HTML" chapter has recipes for matching and replacing tags and attributes. Finally, the "Source Code" chapter has a bunch of recipes for manipulating software source code and related files. Most of these tasks are odd jobs that .NET programmers may want to do sometimes.

The book would have been a better deal if it had focused on regular expressions, and left out the many lines of source code, not to mention the redundant copies in several languages. Without the source code, a book of the same size could easily contain 300 examples. That would have made it far more useful for programmers who know how to program, but aren't well-versed in regular expressions.

As it is, I can only recommend this book to people who are not only new to regular expressions, but also relatively new to programming. The book does contain many recipes that solve basic problems you're likely to encounter when writing .NET applications or scripts for a web site. If you happen to use C#, VB.NET, JavaScript or VBScript, and are looking for a cookbook approach, you'll certainly find the book useful.

But don't expect to really learn how regular expressions work from this book. If you develop software for a living, you're better of with a good regular expression tutorial such as the one at www.regular-expressions.info or a book like "Mastering Regular Expressions".
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
5.0 out of 5 stars Every .NET developer should own this book, January 12, 2007
By 
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
Regular expressions are one of the most abstract topics for the average developer to master. Nathan does a real good job of producing something that any developer should be able to start and build their own base library of core expressions.
The approach he takes by presenting some introduction to Regular Expressions, then presenting usable code in three languages is so useful. Regular Expressions are so abstract, but yet so simple the best way to learn them is by example. For me this was the best book on using Regular Expressions in .NET.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2.0 out of 5 stars Didn't use this one much, January 31, 2010
Amazon Verified Purchase(What's this?)
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
This book went over too many different flavors of regular expressions for my taste. I also think it is more oriented to someone who doesn't know or care about how regular expressions work and just wants a quick answer. So if you already know regex fairly well this book won't introduce anything new to you. You can find most of these in the online regex libraries.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews



Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
this recipe extracts, noncapturing group, qualified assembly names, matching variable names, enter valid value, negated character class, function validate, replacement expression, literal period, domain label, group that contains, private static string, function replace, new string, expression breaks
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Visual Basic, New Recipe, Imports System, Public Sub Run, End While, End Sub Public Shared Sub Main, End Sub End Class, Public Class Recipe Private Shared, End If Loop, Echo New, Page Language, Private Const, Syntax Overview, Microsoft Excel, True Then Console
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject