Python Get Substring Between Two Characters On Couch