Python正则表达式:20年开发经验的老程序员,教您如何掌握Python正则表达式技术



Python正则表达式:20年开发经验的老程序员,教您如何掌握Python正则表达式技术

Rating 4.42 out of 5 (6 ratings in Udemy)


What you'll learn
  • 能够熟练编写Python正则表达式
  • 熟悉Python正则表达式相关API
  • 编写Python数据分析程序

Description

Python中正则表达式应用非常广泛,如:数据挖掘、数据分析、网络爬虫、输入有效性验证等。Python也提供了re模块利用正则表达式实现文本的匹配、查找和替换等操作。本章介绍正则表达式,注意本章介绍的正则表达式与其他的语言正则表达式是通用的。

本课程内容:

1 正则表达式中字符
1.1 元字符
1.2 字符转义
1.3 开始与结束字符
2 字符类
2.1 定义字符类
2.2 字符类取反
2.3 区间
2.4 预定义字符类
3 量词
3.1 使用量词
3.2 贪婪量词和懒惰量词
4 分组
4.1 使用分组
4.2 命名分组
4.3 反向引用分组
4.4 非捕获分组
5 re模块
5.1 search()和match()函数
5.2 findall()和finditer()函数
5.3 字符串分割
5.4 字符串替换
6 编译正则表达式
6.1 已编译正则表达式对象
6.2 编译 …

Duration 1 Hours 58 Minutes
Paid

Self paced

Intermediate Level

Simplified Chinese (China)

28

Rating 4.42 out of 5 (6 ratings in Udemy)

Go to the Course
We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.