Python - Cara Memisahkan String Berdasarkan Beberapa Delimitador
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))