Introducing Regular Expressions : JavaScript and TypeScript
معرفی کتاب «Introducing Regular Expressions : JavaScript and TypeScript» نوشتهٔ Jörg Krause (auth.)، منتشرشده توسط نشر Apress : Imprint : Apress در سال 2017. این کتاب در 6 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است.
This book is your easy-to-digest and concise guide to regular expressions in JavaScript, this book teaches you the very basics and can be used in the browser or on the server. Explore and understand how to use regular expressions in all JavaScript environments. Presented in four key concept sections, __Introducing Regular Expressions__ shows how to create and use regular expressions to accelerate your JavaScript development. **What You'll Learn** * What regular expressions are and why you should use them * Use useful expressions (including examples) * Reference features and functions * Use regular expressions in all JavaScript environments **Who This Book Is For** Developers of web applications who want to explore the capabilities of JavaScript based apps on both, client and server. It’s suitable for beginners that have a basic understanding of JavaScript already. Contents at a Glance 4 Contents 5 About the Author 8 Introduction 9 Chapter 1: Introducing Regular Expressions 12 Copy or Scaffold? 13 How Does It Work? 14 Resolving Expressions 15 Chapter 2: Recognizing Patterns 16 Basics 16 Characters, Lines, and Text 16 Terms for Regular Expressions 17 Metacharacters 17 Literals 17 Character Classes 17 References 18 Metacharacters Overview 18 Start, End, and Boundaries 18 Any Character 19 No Characters 20 Character Classes 20 One out of Many 20 Negations 21 Digits 21 Date and Time 22 Strings 22 Abbreviations 23 Repetition Operators 23 Common Operators 24 Summary 25 Special Operators 25 References 25 Groups 26 Simple Groups 26 Enclosing Characters 27 Non-Counting Groups 28 Lookahead References 28 Chapter 3: The JavaScript Functions 30 The RegExp Object 30 Methods 30 Properties 31 Dynamic Properties 32 The Literal Form 33 Execution Options 33 String Functions 33 Overview 34 Chapter 4: Examples of Patterns 35 Web and Network 35 HTML Tags 35 IP Addresses 36 Mac Addresses 37 URL 38 Query String 40 Port Numbers 40 Manipulating Data 41 Remove Spaces 41 Simulation of a Variable Distance 42 File Extensions 43 Non-Printable Characters 43 Hexadecimal Digits for Colors 43 Form Validation 43 eMail 43 Date Expressions 45 String Passwords 47 ISBN 48 Currencies 48 Number Ranges 48 Floating Point Numbers 49 Thousands Divider 49 Credit Cards 49 Geo Coordinates 51 Guid/UUID 52 Percentages 52 Index 56 Front Matter....Pages i-xiii Introducing Regular Expressions....Pages 1-4 Recognizing Patterns....Pages 5-18 The JavaScript Functions....Pages 19-23 Examples of Patterns....Pages 25-42 Back Matter....Pages 43-48
دانلود کتاب Introducing Regular Expressions : JavaScript and TypeScript