Automotive Holiday Deals Books Holiday Gift Guide Shop Men's Athletic Shoes Learn more nav_sap_SWP_6M_fly_beacon Adele egg_2015 All-New Amazon Fire TV Movember Martha Stewart American Made Amazon Gift Card Offer minions minions minions  Amazon Echo Starting at $84.99 Kindle Black Friday Deals BestoftheYear Shop Now HTL

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

Introducing Regular Expressions 1st Edition

23 customer reviews
ISBN-13: 978-1449392680
ISBN-10: 1449392687
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Sell yours for a Gift Card
We'll buy it for $7.66
Learn More
Trade in now
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$13.78 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$26.48 On clicking this link, a new layer will be open
More Buying Choices
34 New from $21.24 19 Used from $13.78
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Get Up to 80% Back Rent Textbooks
$26.48 FREE Shipping on orders over $35. In Stock. Ships from and sold by Gift-wrap available.

Frequently Bought Together

  • Introducing Regular Expressions
  • +
  • Regular Expressions Cookbook
  • +
  • Mastering Regular Expressions
Total price: $95.79
Buy the selected items together

Editorial Reviews

Book Description

Unraveling regular expressions, step-by-step

About the Author

Michael Fitzgerald describes Ruby as "my favorite language so far" and is working regularly with Ruby and the Rails framework. He has written over 150 Ruby programs for testing and demonstration, and has been developing a library of sample Ruby code. He is the author of Learning XSLT and XML Hacks, and co-author on the XML Pocket Reference.


Hero Quick Promo
Holiday Deals in Kindle Books
Save up to 85% on more than 1,000 Kindle Books. These deals are valid until November 30, 2015. Learn more

Product Details

  • Paperback: 154 pages
  • Publisher: O'Reilly Media; 1 edition (August 3, 2012)
  • Language: English
  • ISBN-10: 1449392687
  • ISBN-13: 978-1449392680
  • Product Dimensions: 7 x 0.4 x 9.2 inches
  • Shipping Weight: 8.8 ounces (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (23 customer reviews)
  • Amazon Best Sellers Rank: #122,140 in Books (See Top 100 in Books)

More About the Author

Michael James Fitzgerald is the author and coauthor of over 20 books which have appeared in English, Spanish, Portuguese, French, German, Korean, Japanese, and Chinese. He is also a blogger and has written numerous articles. Mike loves to ski and to train horses.

Customer Reviews

Most Helpful Customer Reviews

21 of 21 people found the following review helpful By Eric Chou on August 19, 2012
Format: Paperback
The book warns that 'if you happen to already know something about regular expression.. this book may not be where you want to start...'. I have written a few scripts that uses regular expression to identify valid email addresses, IP addresses, etc. but always a one-liner that I typically figure out (or find examples of online) and forget about, so I have decided to give this book a shot. It turns out to be a good decision for me as the book introduced various new tools, gave concepts a good review, and fill in a few knowledge gaps for me.

The book takes you from the introductory topics such as 'What is Regular Expressions?" to finally writing full sed and Perl scripts that takes a full text file and convert it into a full HTML file in Chapter 9. Along the way the author introduces various new tools, online and desktop-local. Here are the pros of the book:

1. Batteries included, all examples are downloadable from Git and OReilly site.
2. Small examples that illustrates a single point and no more, great for learning.
3. Introduces new tools (see item 1 below).
4. Covers a wide array of topics in just ~150 pages.
5. Real world related that you can take it to your job right away.

If I were to look for improvements to the book, aka wish list, some of them would be:

1. Personally I would've prefer to pick just one open source tool and go deeper into the same tool as the readers progress. Perhaps the author can mention new tools but stick to the same tool for the majority of the examples?
2. Some suggestions in see or Perl on finding Unicode conversions. I find myself wondering about searching for traditional Chinese characters within text when I read about the topic. Took me a bit to tinker around in Python to find out how to do it.
Read more ›
9 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
36 of 43 people found the following review helpful By E. Wickes on November 9, 2012
Format: Paperback Verified Purchase
I wanted to formalize my knowledge about regular expressions, and this book seemed like a good place to start.

Instead of starting off with the core universal rules, the author dives directly into character shorthands. He also doesn't do a very good job at explaining how to "read" an expression which will hurt readers in the future as they try to gain more advanced skills.

The reader is encouraged to follow along with several RegEx tools to see how the various searches work, which some may find helpful. Frankly, it is something that the reader should be doing with any book like this, so why do we need to be guided through it with screenshots taking up half the page?

The depth of presentation here feels more like "Occupational RegEx" as opposed to "RegEx 101". The author presents how to make workable queries, but doesn't do so in a way to highlight the core structure which would lead to better understanding and mastery of the subject.

I found the first 22 pages of "Mastering Regular Expressions" to be much better introduction to the logic structures behind RegEx than this entire book.

I just don't feel like this book will give you a core understanding suitable to build from with other books. I also feel like it is a very poor value for the money. There are just over 100 pages, and a significant number of those are littered with screenshots.
5 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
10 of 10 people found the following review helpful By Wes Stahler on August 1, 2012
Format: Paperback
Michael Fitzgerald achieves his goal of introducing the reader to Regular Expressions. He clearly states his intent and his expected audience in the introduction. In addition to the inductive approach to teaching the basics of Regular Expressions to the reader, he takes the opportunity to introduce a plethora of (free) tools. They include but are not limited to the following:

The chapters build upon each other starting with the basics:
-Simple Pattern Matching
-Alternation, Groups and Backreferences
-Character Classes
-Matching Unicode and Other Characters

The lessons learned in the chapters listed above are put to use in Chapter 9, "Marking up a Document with HTML".

In addition to learning the basics of Regular Expressions, the reader gets (re)introduced to Samuel Taylor Coleridge's "The Rime of the Ancyent Marinere". A nice change from the standard, technical examples.

This concise, book is worth the investment if you are new to Regular Expressions.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
6 of 6 people found the following review helpful By Zoltan Varju on September 8, 2012
Format: Paperback
This title simply does what its title suggests; it introduces novices into regular expressions. The book is short, but informative, and it tries to be as language independent as possible.

Expect short, pragmatic chapters on very basic topics. The explanations are pretty clear and easy to follow. The accompanying github repo contains all the files you need to follow the examples - and you should download those files and try out the online tools and unix utilities. This title is using a typical learning by doing approach, you won't get much theory on the background.

Each chapter ends with a technical notes section in which you can find information about the tools used in the chapter. The Appendix and the Regular Expression Glossary are pretty good for further references.

I'm sure a novice becomes a well-grounded beginner after working through this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Introducing Regular Expressions
This item: Introducing Regular Expressions
Price: $26.48
Ships from and sold by

Want to discover more products? Check out these pages to see more: regular show, regular expressions sed, regular expressions cookbook, sed and awk