Sams Teach Yourself Regular Expressions in 10 Minutes
- By Ben Forta
- Published Feb 24, 2004 by Sams. Part of the Sams Teach Yourself series.
- Copyright 2004
- Dimensions: 5-1/2" x 8-1/4"
- Pages: 160
- Edition: 1st
- ISBN-10: 0-672-32566-7
- ISBN-13: 978-0-672-32566-3
- eBook (Adobe DRM)
- ISBN-10: 0-7686-6274-5
- ISBN-13: 978-0-7686-6274-0
Register your product to gain access to bonus material or receive a coupon.
Product Author Bios
Ben Forta is Macromedia Inc.'s Senior Technical Evangelist and has more than two decades of experience in the computer industry in product development, support, training, and marketing. Ben is the author of the popular Sams Teach Yourself SQL in 10 Minutes (in this same series), ColdFusion Web Application Construction Kit, its sequel Advanced ColdFusion Application Development, as well as books on JavaServer Pages, Windows development, mobile computing, and other topics. More than one-quarter million Ben Forta books have been printed in more than a dozen languages worldwide. He writes regular columns on Internet and application development topics and spends a considerable amount of time lecturing and speaking on application development worldwide. Ben welcomes your email at firstname.lastname@example.org and invites you to visit his Web site at http://www.forta.com/.
- Match characters sets
- Match repeating characters (using minimums and maximums if needed)
- Match (or ignore) based on case
- Build sub-expressions
- Use all of the special characters
- Work with excape sequences
- Use POSIX classes to simplify complex expressions
- Use back-references
- Use look-behind operators
Sams Teach Yourself Regular Expressions in 10 Minutes is a tutorial book organized into a series of easy-to-follow 10-minute lessons. These well targeted lessons teach you in 10 minutes what other books might take hundreds of pages to cover. Instead of dwelling on syntax, terminology, and arcane examples and scenarios, this book takes a very hands-on approach to solving the needs of the majority of RegEx users who simply need to manipulate data.
35 of 35 people found the following review helpful
Makes the power of RegExp accessible to everybody,
Amazon Verified Purchase(What's this?)
This review is from: Sams Teach Yourself Regular Expressions in 10 Minutes (Paperback)This book finally fills a very important niche, since, before it, there wasn't any entry-level Regular Expression manual worth reading. Friedl's book from O'Reilly is excellent, but not suited for beginners. Ben Forta distilled the essential of the subject inside a compact, easy to follow book. Even seasoned programmers often consider the topic arcane, but the author brilliantly managed to cover it in a way that can be easily understood by everybody and still being relevant (avoiding the pitfalls so typical of "dummies" manuals). Every chapter revolves around a set of practical examples, evolving in a linear way, from the very basic up to a few more sophisticated techniques covered inside the last two chapters.
Forta covers Regular Expressions in a language and implementation agnostic way; the result is worth reading regardless of the language/platform you use. It's a small, handy manual that makes the power of Regular Expressions accessible to everybody. Heartily recommended!
19 of 19 people found the following review helpful
Excellent gentle introduction to regular expression,
This review is from: Sams Teach Yourself Regular Expressions in 10 Minutes (Paperback)Don't be fooled by the book's catchy title, obviously courtesy of Sams marketing department. Just reading through the book's 138 pages will take more than 10 minutes. But if you're willing to sit down with this book for an hour or two, you can certainly learn to write regular expressions that do what you want.
Obviously, such a small book cannot be comprehensive. Even though the book's cover mentions a variety of programming languages, the book does not tell you at all how to actually use... Read more
8 of 8 people found the following review helpful
Practical approach how to use regular expressions,
This review is from: Sams Teach Yourself Regular Expressions in 10 Minutes (Paperback)I was looking for a guide that teaches me how to use regular expressions. This book seems to do the trick. It starts with simple commands to more and more complex commands. I really like the fact that it is using the same examples over and over again.This way way you can compare the long statements using simple commands with the more sophisticated short statements that accomplish the same task.
In my case a book about regular expressions using .NET would be more suitable. However, the reviews of the books that cover this topic where not so good.
Another bad point about the book is that it is less suitable to use as a reference. Then again, if you are looking for a book that teaches you how to use regular expressions this is a book worth... Read more
› See all 41 customer reviews...
Online Sample Chapters
Table of Contents
1. Introducing Regular Expressions.
2. Matching—Single Characters.
3. Matching Sets of Characters.
4. Using Metacharacters.
5. Repeating Matches.
6. Position Matching.
7. Using Subexpressions.
8. Using Backreferences.
9. Looking Ahead and Behind.
10. Embedding Conditions.
Appendix A: Regular Expressions in Popular Applications and Languages.
Appendix B: Regular Expression Solutions to Common Problems.
Appendix C: The Regular Expression Tester.
This book includes free shipping!
This book includes free shipping!
eBook (Adobe DRM)
This eBook requires the free Adobe® Digital Editions software.
Before downloading this DRM-encrypted PDF, be sure to:
- Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
- Authorize your copy of Adobe Digital Editions using your Adobe ID. If you don't already have an Adobe ID, you can create one here.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.