import re
s = 'life is short,i use python'
r = re.search('life(.*)python', s)
print(r.group(1))

0b8e388b87e336f707e1308951c2a6d2dfc5110b
<mask token>

<mask token>
print(r.group(1))

<mask token>
s = 'life is short,i use python'
r = re.search('life(.*)python', s)
print(r.group(1))

import re
s = 'life is short,i use python'
r = re.search('life(.*)python', s)
print(r.group(1))
