import re
contents = 'ST8*010A1~BHT*0019*0 BHT#5*20190114*'
new_list = re.split(r'(?<=~)BHT[^A-Za-z0-9 ]', contents)
print(new_list)
