There is such a string, is a SMS template as follows: Dear Zhang San, your current consumption is 1 yuan, the balance is 0 yuan, if you have any questions, please contact customer service 400-800-8888. I need to get several fields like Zhang San 10 through regular expression, but the values of name, consumption and balance change. How can I use other unchanging fields to get the three changed fields? Thank you!
>>>str1 = '亲爱的张三，您的本次消费1元，余额为0元,如有疑问，请联系客服400-800-8888。'