BN.com Gift Guide

Sams Teach Yourself Regular Expressions in 10 Minutes

( 1 )

Overview

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

See more details below
Other sellers (Paperback)
  • All (9) from $4.45   
  • New (5) from $7.92   
  • Used (4) from $0.00   
Sams Teach Yourself Regular Expressions in 10 Minutes

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$10.49
BN.com price
(Save 25%)$13.99 List Price

Overview

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.

Read More Show Less

Product Details

  • ISBN-13: 9780672325663
  • Publisher: Sams
  • Publication date: 7/1/2003
  • Series: Sams Teach Yourself Series
  • Pages: 160
  • Sales rank: 965,878
  • Product dimensions: 5.43 (w) x 8.18 (h) x 0.39 (d)

Meet the Author

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

Read More Show Less

Table of Contents

Introduction.

1. Introducing Regular Expressions.

Understanding the Need. How Regular Expressions Are Used. So What Exactly Is a Regular Expression? Using Regular Expressions. Before You Get Started. Summary.

2. Matching—Single Characters.

Matching Literal Text. Matching Any Characters. Matching Special Characters. Summary.

3. Matching Sets of Characters.

Matching One of Several Characters. Using Character Set Ranges. "Anything But" Matching. Summary.

4. Using Metacharacters.

Escaping Revisited. Matching Whitespace Characters. Matching Specific Character Types. Using POSIX Character Classes. Summary.

5. Repeating Matches.

How Many Matches? Using Intervals. Preventing Over Matching. Summary.

6. Position Matching.

Using Boundaries. Using Word Boundaries. Defining String Boundaries. Summary.

7. Using Subexpressions.

Understanding Subexpressions. Grouping with Subexpressions. Nesting Subexpressions. Summary.

8. Using Backreferences.

Understanding Backreferences. Matching with Backreferences. Performing Replace Operations. Summary.

9. Looking Ahead and Behind.

Introducing Lookaround. Looking Ahead. Looking Behind. Combining Lookahead and Lookbehind. Negating Lookaround. Summary.

10. Embedding Conditions.

Why Embed Conditions? Using Conditions. Summary.

Appendix A: Regular Expressions in Popular Applications and Languages.

grep. JavaScript. Macromedia ColdFusion. Macromedia Dreamweaver. Macromedia HomeSite (and ColdFusion Studio). Microsoft ASP. Microsoft ASP.NET. Microsoft C#. Microsoft .NET. Microsoft Visual Studio .NET. MySQL. Perl. PHP. Sun Java.

Appendix B: Regular Expression Solutions to Common Problems.

North American Phone Numbers. U.S. ZIP Codes. Canadian Postal Codes. United Kingdom Postcodes. U.S. Social Security Numbers. IP Addresses. URLs. Complete URLs. Email Addresses. HTML Comments. JavaScript Comments. Credit Card Numbers. Summary.

Appendix C: The Regular Expression Tester.

Understanding the Regular Expression Tester Application. Obtaining a Copy of the Application.

Read More Show Less

Customer Reviews

Average Rating 3
( 1 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 4 Customer Reviews
  • Anonymous

    Posted March 12, 2008

    Excellent book for developers

    I just bought the book today and I have already finished reading it. The information in this book is outstanding, especially if you are new to regular expressions. I recommend this book to anyone that wants to learn an efficient way to preform string validation.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 10, 2004

    I'm finally understanding regular expressions!

    I got this book 2 days ago. It is great. I'm only to chapter 3 but it is making everything clear to me finally! Normally I don't have time to read up on things like regex because of workload, but this info has already saved me time at work! Also, the appendix with the real world regex's is a great time saver. I recommend it to everyone.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 8, 2009

    No text was provided for this review.

  • Anonymous

    Posted July 26, 2011

    No text was provided for this review.

Sort by: Showing all of 4 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)