【Python】Regular expression
2022-05-31 本文已影响0人
盐果儿
Definition:
Regular Expression(RE) in a programming language is a special text string used for a search pattern. It extremely useful for extracting information from text.
Applied instance:
数据验证:查看字符串内是否出现电话号码模式或信用卡号码模式。
Language:
python, java, C#
Reference:
https://www.runoob.com/regexp/regexp-tutorial.html