Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
[a-z_A-Z]+(?=\=)|(?<=\=)\w+(?# =后面的变量或者数字)|(?<=\=)\'.+\'|(?<=\=)\".+\"(?# =后面的字符串)
"
gm

Description

取等号两边的数据

Submitted by 小沙盒工作室 - 2 years ago