例:提取=与,
或=与}
之间的数字:
re.findall('=(\d+)(?:,|})', str)
参考:
https://www.cnblogs.com/dreamer-fish/p/5282679.html
https://www.cnblogs.com/tina-python/p/5508402.html
例:提取=与,
或=与}
之间的数字:
re.findall('=(\d+)(?:,|})', str)
参考:
https://www.cnblogs.com/dreamer-fish/p/5282679.html
https://www.cnblogs.com/tina-python/p/5508402.html