Python Remove Text After Substring In Oracle