Python - Cara Memisahkan String Berdasarkan Beberapa Delimiter
import re text = "python is, an easy;language; to, learn." print(re.split('; |, ', text))
thecodeteacher
import re text = "python is, an easy;language; to, learn." print(re.split('; |, ', text))