|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/practical-regex/
课程评论:没有评论
**课程名称:** 彻底掌握实用正则表达式(Regex)课程:适合所有人 **课程概述:** 正则表达式(Regex)的学习曲线可能较为陡峭,许多人在面临实际需求时才开始接触。本课程旨在打破“使用正则表达式解决问题,结果却产生两个新问题”的误解,教授高效编写和应用正则表达式的技巧。通过掌握核心概念,您将能显著提升工作效率,将耗时数小时的任务缩短至几分钟甚至几秒钟。 本课程以实际应用为导向,包含丰富的真实世界案例,适合初级、中级和高级所有学习者。课程内容分为基础、进阶和高级三个层级,循序渐进地讲解复杂的Regex概念,并通过实践练习巩固。无论您是在Python、Java、JavaScript、Golang、C、C#等编程语言中使用,还是在grep、Excel、Google Analytics等工具中应用,本课程教授的知识都将使您受益匪浅。 **核心学习内容:** * 正则表达式基础知识; * 量词(如:范围、至少一次、一次或零次等); * 通过字符类和分组进行的快捷匹配; * 交替(Alternation); * 括号(Parenthesis)及其在简单和复杂场景下的应用; * 断言(Lookaround),包括先行断言(Lookahead)和后行断言(Lookbehind)。 **实践与应用:** 您将学习如何编写用于: * URL验证; * 密码验证; * 数字数据的验证和提取; * 以及更多实际场景的正则表达式。 **课程特色:** * 提供每个部分的正则表达式速查表,帮助巩固所学知识。 * 包含45个以上实用示例。 * 强调在真实场景中的应用,使您具备独立编写各种正则表达式的能力。 **适用范围:** 本课程内容不仅适用于各种编程语言,也适用于任何支持正则表达式的工具,如grep、Excel、Google Analytics等。
Regular expression (regex) is not an easy topic and many people just ignore its existence until met with the necessity to use them. I heard many times the phrase "If you have a problem and you use regular expressions to solve that problem, then you have two problems." and I really hate it. I then realized that people who say that are the people who do not know how to write proper regular expressions.That is why I'm sharing the knowledge on the most important concepts of regex. After you grasp them, writing regular expressions will become quite easy, but the most important part is that YOU WILL SAVE AN INCREDIBLE AMOUNT OF TIME using regex. Tasks that took 1 hour to complete, now might take minutes or even seconds. With practice, the amount of time you save for yourself will be increasing.That is why this course is very practical and will focus on real-life examples. It is appropriate for any knowledge level: beginner, intermediate or advanced and contains regular expressions cheat sheets. The content is also divided into three levels: Basic, Intermediate, and Advanced. In each of those levels, increasingly difficult regular expression concepts will be discussed in a practical manner through exercises. We will always be focusing on how we can write and apply our regular expressions to real-life examples so when you finish the course, you will have the experience required to write any regular expression you might need. And there are more than 45 examples that will help you with that!You will learn:- regular expressions basics;- regular expressions quantifiers (number of characters): ranges, at least one, one or none, etc.;- regular expressions shortcuts through character classes and groups;- regular expressions alternation;- regular expressions parenthesis and how they are used for in easy and complex situations;- regular expressions lookaround: lookahead and lookbehind.You will practice and learn how to write:- regular expressions for URL validation;- regular expressions for password validation;- regular expressions for numeric data validation and extraction;AND MUCH MORE!The course can be used to apply the regular expressions in Python, Java, Javascript, Golang, C, C#, or any other programming language. Depending on the language, you may need to escape certain characters in your regex for it to compile correctly. Make sure to always test your regular expressions using unit tests.What you will learn is also applicable outside the programming languages. Any tool that supports regular expressions will allow you to benefit from this course. Think about regular expressions for grep, excel, or even google analytics. The regular expressions cheat sheets that are provided at the end of each section will help you to hold the knowledge outside the course!