deleting 0's from an attribute


Dear,
With in a proces i created an nominal attribute with examples like:
0001
0110
1010
0011
0111
1111
...
I would like to change this attribute deleting all the 0's before the first 1 (while keeping the 0's after the first 1). So the example should look like:
1
110
1010
11
111
1111
...
I tried with the replace operator and a regular axpression, but It seems I don't find the right one...
Thanks a lot,
Ilja
With in a proces i created an nominal attribute with examples like:
0001
0110
1010
0011
0111
1111
...
I would like to change this attribute deleting all the 0's before the first 1 (while keeping the 0's after the first 1). So the example should look like:
1
110
1010
11
111
1111
...
I tried with the replace operator and a regular axpression, but It seems I don't find the right one...
Thanks a lot,
Ilja
0
Answers
Best regards,
Marius
I add the process here:
Best regards,
Marius