1 karma · joined Jan 1, 2020 (6y ago) · 1 submissions
comment 1y ago · link · parent
``` text = "helo helo hello ." target_phrase = "ترجمة نانسي قنقر" replacement = ""
updated_text = text. Replace(target_phrase, replacement)
print(updated_text) ```