IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

only the numeric characters from a string Options · View
marcokki
Posted: Tuesday, November 27, 2018 7:23:49 AM
Rank: Member

Joined: 9/10/2014
Posts: 14
Hi to all

I need to retrieve only the numeric characters from a string could you tell me if exist a standard function (which I did not find) or do I have to use the replace for any non-numeric character?

BEFORE: "2356434/V3"
AFTER: "23564343"

Thx!
Marco
vlad
Posted: Tuesday, November 27, 2018 10:49:12 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
You can use a combination of tokenize-by-regexp with pattern [^\d] and string-join


vlad attached the following image(s):
Capture.JPG

marcokki
Posted: Friday, December 14, 2018 3:51:25 PM
Rank: Member

Joined: 9/10/2014
Posts: 14
Thx!
:-)
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.