new_str="@@2@@*##1"
new_str1="@@3@@*##5##7"
How to split the above string in python
for val in new_str.split("@@*"):
logging.debug("=======")
logging.debug(val[2:]) // will give
for st in val.split("@@*"):
//how to get the values after ## in new_str and new_str1