Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
vamsi99
Contributor
Contributor

String Handling in tMap

Hi,

I have a column row5.Example and the values will be like

CN=HYAHCU YXCUKSRM,OU=20992021,OU=Employees,O=CM,DC=avrhcjk,DC=otn,DC=com. How will I get only numeric value that is 20992021

as result/output by using tMap or any other way.

Note : In this scenario we hare 20k records and all the records are similar.

Labels (3)
1 Reply
gjeremy1617088143

If its the only numeric in the string :

Set this in the tmap output row :

row5.Example.replaceAll("\\D","")

it will suppress all non digit char from the string

Send me Love and Kudos