import reold_string = "INLI VERONICA HD / DISNEY XD"new_string = re.sub(r"[][|JI]*NL[][|JI]*", "", old_string).strip()print(new_string)
Standard input is empty
VERONICA HD / DISNEY XD
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!