|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/regular-expressions-in-javascript-master-course-projects/
课程评论:没有评论
**课程名称:JavaScript 正则表达式精通课程 + 项目** **课程概述:** 本课程旨在帮助您掌握计算机科学中至关重要的正则表达式技能。通过将正则表达式分解为易于理解的部分,您将能够快速学习并长期掌握其核心概念。本课程不仅对 JavaScript 开发者有用,对其他编程语言的开发者也同样适用,因为它首先侧重于正则表达式的核心概念,然后教授如何在 JavaScript 中应用它们。您还将学习正则表达式与 JavaScript 强大功能的结合,以及最新的 ECMAScript 更新,这将为您带来无与伦比的优势。每项概念都通过丰富的“旁观式”示例进行讲解,确保您能够深入理解。 **您将学到:** 1. 正则表达式的核心概念:工作原理、创建方法和应用方式。 2. 将正则表达式概念应用到 JavaScript 编程中。 3. 创建各种复杂程度的正则表达式模式。 4. 利用 JavaScript 正则表达式的各种选项,将模式匹配提升到新高度。 5. 使用括号、元字符、字符范围和集合创建高级正则表达式。 6. 测试正则表达式,并在 JavaScript 的字符串和正则表达式方法中使用它们。 7. 理解懒惰匹配和贪婪匹配的简便性。 8. 使用分组、捕获组和反向引用创建最新、准确的正则表达式模式。 9. 正确使用前瞻、后顾、锚点和 Unicode。 10. JavaScript 正则表达式最新的 ES6、ES7 和 ES8+ 更新。 **课程设计:** 课程共分为 10 个模块,每个模块都将通过丰富的“旁观式”示例,深入讲解正则表达式(含 JavaScript)的每个概念的细微之处,并结合实际项目进行讲解。 * **模块 1 - 简介:** 基础模块,介绍正则表达式是什么,如何创建基础表达式,以及如何在不写代码的情况下进行测试。 * **模块 2 - 在 JavaScript 中使用正则表达式:** 学习如何将前面模块的知识应用到 JavaScript 中,包括各种测试方法和正则表达式修饰符/标志。 * **模块 3 - 括号、字符范围、集合等:** 学习如何使用括号、字符范围、集合、管道符号(用于多种选项)、字符集排除等来创建更复杂的正则表达式。 * **模块 4 - 元字符:** 学习如何使用元字符来增强正则表达式,例如指定单词、数字、空白字符等。 * **模块 5 - 锚点和量词:** 学习如何通过量化字符和集合,以及添加锚点来进一步完善正则表达式。 * **模块 6 - 字面量/特殊字符:** 学习如何将正则表达式中在其他地方有特殊含义的字符,作为模式中的字面量来指定。 * **模块 7 - RegExp 对象、属性和方法:** 学习如何使用 RegExp 对象创建正则表达式,并应用其各种属性和方法。 * **模块 8 - 懒惰匹配和贪婪匹配:** 学习如何针对特定场景使用懒惰匹配来简化模式匹配。 * **模块 9 - 分组和捕获组:** 学习如何创建捕获组来获取匹配的部分,并进行反向引用等操作。 * **模块 10 - 前瞻和后顾:** 学习如何在字符串的某个位置之前或之后进行匹配。 **课程包含的实际项目:** 1. **项目 1 - 移除字符串开头和结尾的多余空格**(不使用 `Trim()` 方法)。 2. **项目 2 - 邮箱验证**。 3. **项目 3 - 手机号码验证**。 **为何选择本课程:** 1. **内容详尽:** 您将找到开始创建复杂正则表达式模式所需的一切,无需再寻找其他资源。 2. **实践驱动:** 课程强烈倡导“学以致用”,丰富的示例清晰地讲解了每一个概念。 3. **实践掌握:** 通过跟随示例和一起实践,您将深刻理解正则表达式的工作原理,并能自信地将其作为一项技能写入简历。 4. **趣味项目:** 课程通过有趣的实际项目来讲解概念,保持学习的趣味性。您将学到如何将课程知识应用到实际项目和示例中。 立即报名,开始轻松创建复杂而准确的正则表达式,并能够快速应用于真实的模式匹配场景!
Regular expressions are an essential part of problem solving in computer science. They can be tricky to learn if you don't approach the topic right.In this course, we hope to break down the regular expressions into manageable parts so you can learn them fast and retain the concepts much longer. This course will be useful for both Javascript programmers and programmers of other programming languages because we focus on the core concepts of regular expressions before teaching you how to apply them in Javascript. You'll also learn the sheer power of regular expressions, used in combination with the powerhouse that is the Javascript language. Add the latest ECMAScript updates to the mix, and you end up with something that is unparalleled in the other languages. Every concept is taught through a wealth of over-the-shoulder examples so you understand the concepts better. What will you learn in our course? 1. Learn the core concepts of regular expressions - how they work, how to create them and how to apply them2. Learn how to apply the regular expression concepts you learn in Javascript programming3. Learn how to create all kinds of regular expressions - from simple to very complicated patterns4. Take pattern matching to the next level by learning the various options you have in Javascript regex5. Learn how to use brackets, metacharacters and character ranges and sets to create advanced regex patterns6. Learn how to test regular expressions and use them in appropriate string and regex methods in Javascript7. Learn the simplicity of lazy and greedy matching8. Learn how to use grouping, capture groups and backreferencing to create updated, and accurate regex patterns of this decade9. Learn how to use lookaheads, lookbehinds, anchors and unicode properly10. Learn the latest ES6, 7 and 8+ updates of Javascript regular expressions. How is this course designed? Our course has 4 modules, where each module will thoroughly explain the intricacies of one of the concepts in Regular expression (with Javascript) with a wealth of over-the-shoulder examples. We'll be using a real world example to explain the concepts. Here are the modules: Module 1 - Introduction - This is the foundations module. We'll look into what regular expressions are, how to create very basic expressions and test them without using any code. Module 2 - Using regular expressions in Javascript - In this module, you'll learn how to apply what you learned in the last module to Javascript. You'll also learn about various methods you can use to test regular expressions in Javascript, and we'll end the module with lessons on regex modifiers/flags. Module 3 - Brackets, character ranges, sets & more - In this module, we'll look at creating more complicated regular expressions using brackets, character ranges, sets, pipe symbol for options, character set exclusion and so much more. Module 4 - Metacharacters - In this module, you'll learn how to enhance your regular expressions with metacharacters that can be used to specify words, digits, whitespaces and more. Module 5 - Anchors and Quantifiers - In this module, you'll learn how to further perfect your regular expressions by quantifying your characters and sets and adding anchors. Module 6 - Literal/special characters - In this module, you'll learn how to specify special characters used elsewhere in regex literally as part of a pattern. Module 7 - RegExp object, properties and methods - In this module, you'll learn how to create the same regular expressions with the RegExp object and apply the various properties and methods that come along with it. Module 8 - Lazy and Greedy matching - In this module, you'll learn how to use lazy matching to simplify pattern matching in specific cases. Module 9 - Grouping and Capture groups - In this module, you'll learn how to create capture groups to get parts of matches, backreference them and so much more. Module 10 - Lookaheads and Lookbehinds - In this module, you'll learn how to use literally look ahead or behind a string before creating a match. We also cover a lot of examples and real world projects, including: 1. Project #1 - Remove extra spaces from start & end of a string - Trim a string without using Trim(). 2. Project #2 - E-mail validation 3. Project #3 - Mobile number validation Why should you choose our course? 1. We like to be thorough in our teaching. You'll find everything you need to start creating complicated regular expression patterns. You won't have to look anywhere else. 2. We strongly advocate learning by doing, rather than just listening or reading. Our lectures are filled with a wealth of examples that explain every concept clearly. 3. If you follow along with our examples in our over-the-shoulder trainings, and create our examples with us, you'll have a thorough understanding of what regular expressions are, and how they work in Javascript. You'll be able to confidently add this as a skill in your resume. 4. We prefer creating fun projects to explain the concepts and to keep things interesting as well. You'll learn how to apply the concepts you learn in the course in the real world projects and examples.So, what are you waiting for? Enroll now and start creating complicated, yet accurate regex patterns that can be used in real world pattern matching scenarios in no time at all!