HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
This PDF will be accessible from your Account page after purchase and requires PDF reading software, such as Acrobat® Reader®.
The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
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:
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.
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.
Matching Literal Text. Matching Any Characters. Matching Special Characters. Summary.
Matching One of Several Characters. Using Character Set Ranges. "Anything But" Matching. Summary.
Escaping Revisited. Matching Whitespace Characters. Matching Specific Character Types. Using POSIX Character Classes. Summary.
How Many Matches? Using Intervals. Preventing Over Matching. Summary.
Using Boundaries. Using Word Boundaries. Defining String Boundaries. Summary.
Understanding Subexpressions. Grouping with Subexpressions. Nesting Subexpressions. Summary.
Understanding Backreferences. Matching with Backreferences. Performing Replace Operations. Summary.
Introducing Lookaround. Looking Ahead. Looking Behind. Combining Lookahead and Lookbehind. Negating Lookaround. Summary.
Why Embed Conditions? Using Conditions. Summary.
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.
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.
Understanding the Regular Expression Tester Application. Obtaining a Copy of the Application.