📜  python 获取字符串之间的子字符串 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:36.320000             🧑  作者: Mango

代码示例1
import re

s = 'asdf=5;iwantthis123jasd'
result = re.search('asdf=5;(.*)123jasd', s)
print(result.group(1))