fork download
  1. import re
  2. old_string = "INLI VERONICA HD / DISNEY XD"
  3. new_string = re.sub(r"[][|JI]*NL[][|JI]*", "", old_string).strip()
  4. print(new_string)
Success #stdin #stdout 0.02s 9448KB
stdin
Standard input is empty
stdout
VERONICA HD / DISNEY XD