結果 : python regex remove characters from end of string