Sams Teach Yourself Regular Expressions in 10 Minutes

Front Cover
Sams Publishing, 2004 - Computers - 146 pages
2 Reviews

RegEx is supported in all major development environments (for use in editing and working with code) and will thus appeal to anyone using these tools. In addition, every JavaScript developer should be using RegEx, but most don't as it has never been taught to them properly before. Developers using ASP, C#, ColdFusion, Java JSP, PHP, Perl, Python, and more can (and should) be using RegEx, and so every one of them is a potential reader too. The reader of this book will learn how to:

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

  

What people are saying - Write a review

User Review - Flag as inappropriate

This books has an excellent approach in explaining the material of RegEx. This kind of explanation "framework" should be adapted by many authors when presenting concepts and ideas. The book format makes it easy for everyone to learn as it is straight into the point and logically ordered concise chapters with good examples.  

Contents

I
3
II
10
III
19
IV
27
V
40
VI
56
VII
66
VIII
74
IX
86
X
97
XI
104
XII
118
Copyright

Common terms and phrases

Popular passages

Page viii - As the reader of this book, you are our most important critic and commentator. We value your opinion and want to know what we're doing right, what we could do better, what areas you'd like to see us publish in, and any other words of wisdom you're willing to pass our way.
Page viii - I welcome your comments. You can email or write me directly to let me know what you did or didn't like about this book as well as what we can do to make our books better. Please note that I cannot help you with technical problems related to the topic of this book. We do have a User Services group, however, where 1 will forward specific technical questions related to the book.

About the author (2004)

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 ben@forta.com and invites you to visit his Web site at http://www.forta.com/.

Bibliographic information