On Sun, May 20, 2018, 5:53 PM Paul <tallp...@gmail.com> wrote:

> This works for me: mytuplestring.replace("0","")
>
>>
>>> Your regex will also eliminate  non-leading zeros.
>>
>>
> If you Google
>
> regex tester
>
> you will find several useful sites where you can test regexes.  Regex
> errors are very common, even after you have experience with them.
>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to