I have string something like this
mystring = "CBS Network Radio Panel;\ntitle2 New York OCT13W4, Panel Weighting;\n*options; mprint ls=max mprint;\n\n****************************************out; asd; ***hg;"
I want to delete the string between * and ; output should be
"CBS Network Radio Panel;\ntitle2 New York OCT13W4, Panel Weighting;\ mprint ls=max mprint;\n\n asd;"
I have tried this code
re.sub(r'[\*]*[a-z]*;', '', mystring)
But it's not working.