Mastering regular expressions by Jeffrey Friedl, 3rd edition. Regular expressions are an extremely powerful tool for manipulating text and data. They are standard features today in a variety of popular languages and tools including Perl, Python, Ruby, Java, VB.NET, and C # (and any language that uses the .NET Framework), PHP, and MySQL.
If you're new to regular expressions, you'll discover a whole new world of data management in this book. If you're already using them, you'll appreciate the unprecedented level of detail and breadth of coverage of this book. If you think you know everything there is to know about regular expressions, this book is a real eye-catcher.
As this book shows, mastering regular expressions is an invaluable skill. Regular expressions allow you to program complex and subtle word processors that you never thought could be automated. Regular expressions can save you time and effort. They can be used to find elegant solutions to a wide variety of problems. Once you master regular expressions, they become an invaluable part of your toolkit. You will wonder how you managed without it.
Yet despite their unprecedented availability, flexibility, and power, regular expressions are often underused. But what power is in the hands of an expert can be dangerous to the inattentive. Mastering regular expressions will help you navigate the minefield to become an expert and will help you optimize your use of regular expressions.
Mastering Regular Expressions, Third Edition now includes an entire chapter dedicated to PHP and its powerful and expressive suite of regular expressions, as well as extended PHP coverage in the central "core" chapters. Additionally, this release has been continually updated to reflect advances in other languages, including extensive and in-depth coverage of Sun's java.util.regex package, which has emerged as the standard implementation of Java Regex. Topics include:
Written in a crisp, fun tone that makes a complex, dry topic crystal clear for programmers and peppered with solutions to complex real-world problems, Mastering Regular Expressions, Third Edition has a wealth of information you can apply right away.
Reviews of this new edition and the second edition:
"There is no better (or more useful) regular expression book." --Zak Greatt, General Manager, eZ Systems
"A real feat of a book that not only covers the mechanics of regular expressions in great detail, but also talks about the efficiency and use of regular expressions in Perl, Java and .NET ... If you use regular expressions like part of your professional work (even if you already have a good book on the language you are programming in, I highly recommend this book. " --DR. Chris Brown, Linux format
"The author does a great job of getting the reader from Regexnovice to Master. The book is extremely easy to read and packed with useful and relevant examples ... Regular expressions are valuable tools every developer should have in their toolbox. . Even Regular Expressions Are Mastery is the ultimate guide to the topic and an excellent resource that should be in every programmer's library. Ten horseshoes out of ten. " --Jason Menard, Java Ranch
Jeffrey Friedl was raised in rural Rootstown, Ohio, and had aspirations of being an astronomer until one day he noticed a TRS-80 Model I standing in the corner of the chemistry lab (filled with 16K RAM, no less). use Unix (and regular expressions) in 1980 and majored in Computer Science at Kent (BS) and the University of New Hampshire (MS). He did kernel development for Omron Corporation in Kyoto, Japan for eight years before moving in 1997 to Silicon Valley to apply his regular expression know-how to news and financial data for a little-known company called "Yahoo! "
When faced with the daunting task of filling his abundant free time, Jeffrey enjoys playing Ultimate Frisbee and basketball with friends at Yahoo!, programming his house and feeding squirrels and jays in his backyard. He also enjoys spending time with his wife Fumie and preparing for the fall 2002 launch of their first "software project" together.
This book is the best regular expression book there is. I've been writing software for several years and my hands-on experience hasn't scratched the surface of what regular expressions can do and how they work.
If you want to break complex regular expressions and write your own, this is THE book you should read. Friedl never glosses over important points and never assumes that you already understand regular expressions. The fact is, most of us don't. While regular expressions are mostly a pretty dry topic, Friedl does a good job here and there (enough not to keep the topic too dry, but not so much that you forget the seriousness of the topic).
Typographic conventions are nothing short of revolutionary, and I don't think there is any other book on the internet or written that walks you through regular expressions and explains how all the different parts work together and how you do things. in your practical way.
In this book, you will learn to THINK with regular expressions. These once cryptic symbols become powerful tools to manipulate and obtain the results you want. For me, regular expressions were a bit of a hindrance and a potential security risk (since I couldn't decipher really complex regular expressions). Other than that, I didn't know the difference between NFA, DFA, and Posix NVA, or how to optimize the regular expression for these different engines (or whether or not optimization was needed at all).
I highly recommend this book for both beginners and veterans of regular expressions. It might not change your life, but it will change the way you read and write regular expressions.
I've been working with regular expressions for a while and this book has really helped me get to grips with some of the subtleties. The first time I read it, it was over my head. Then I started working on each example and it all started. This is a book that you will need to take some time to work on. The examples are clear. I would recommend this book to anyone who wants to learn some of the intricacies of regular expressions.
Thank you thank you thank you. I've been using Regex for years, especially in Notepad ++. Although I had learned some pretty complex questions, this book gave me my first hope that one day I would go beyond a hack-Googling. If you want or need to learn regular expressions this is of great help. if you only want to realize one project. going to googling a hack. someone has probably already written it for you.
If you've ever been frustrated understanding regular expressions (RegEx) which are just based on a table of symbols and a few paragraphs of explanations apparently written by someone who thinks you are already familiar with the concept, then this is this book is for you. Don't let the 480+ page size of this title put you off; Before you get to the end of Chapter 2, you will have a solid understanding of the concepts, structure, syntax, and "keywords" commonly used by these utilities, programming languages, and applications that contain RegEx. The essence of the book includes implementing RegEx in various environments, techniques for creating expressions, and methods for creating efficient expressions. The last chapters are aimed specifically at users of Perl, Java, VB.NET and PHP.
The only minor issues I had with were the tools used to demonstrate the concepts. While none of the tools used cost the reader money to follow directly, some of the downloads come from third-party websites that have no guarantee of offering the download immediately when you receive the book.