I am trying to extract all numbers before the last non zero digits.
Examples:
- if I have a number
4210014000000000
i am trying to extract only4210014
. - and if I have a number
621788000000000
i am trying to extract only621788
. - and if I have just
232322
then it should be232322
.