import re
str = "AwdnmdB"
re = r'A(.*?)B'
result = re.findall(re,str)
print(result)
//打印结果为:wdnmd
06-24
2159

import re
str = "AwdnmdB"
re = r'A(.*?)B'
result = re.findall(re,str)
print(result)
//打印结果为:wdnmd