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: 
Anonymous
Not applicable

Searching a string and extract values

HI,

I have a use case where I have to search for a string "INC TYPE" and extract the values after the particular string.The string can be anywhere in the description. Please find example 

complete desc:

Simulation INC TYPE 566-A8970

ABN Cor INC TYPE 768-B5679

INC TYPE 897-B6789

Operations building INC TYPE 225-T5679 Legal 

 

My expected output:

566-A8970

768-B5679

897-B6789

225-T5679

 

Please suggest. Thanks for your help!

Labels (2)
1 Solution

Accepted Solutions
abhi90
Creator II
Creator II

Please mark the post as resolved so that others can use

View solution in original post

7 Replies
Anonymous
Not applicable
Author

Have you tried using tExtractRegexFields?

vboppudi
Partner - Creator III
Partner - Creator III

Are you looking for below output?

0683p000009Lvtq.png0683p000009Lw0l.png

Regards,

Anonymous
Not applicable
Author

Thanks Veera!
Yes that was my expected output.
Anonymous
Not applicable
Author

Hi, I shall try and update you. Thanks for your response!
cterenzi
Specialist
Specialist

Should you wish to use tExtractRegexFields, this pattern should yield the result you're looking for:

"INC TYPE (\\d{3}-[A-Z0-9]{5})"
Anonymous
Not applicable
Author

Thank you all. It is resolved now.
abhi90
Creator II
Creator II

Please mark the post as resolved so that others can use