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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
aarnkalle
Contributor III
Contributor III

How to find AlphaNumeric character from a string

Hi

I am trying to find out AlphaNumeric from a below string. The data is very huge. I tried KeepChar and PurgeChar functions but getting only numbers and not the exact result i am looking for. Please refer below examples and i am trying to find out the AlfaNumbers which is in red bold (Note - in the original data it is not in red bold)

  1. Transaction Type - HPH INV SELF-PAY  Transaction Number P122304  Transaction Document Number  credited by Credit Memo Application
  2. Receipt Application to Transaction Type - HPH INV SELF-PAY  Transaction Number P448608  Transaction Document Number
  3. Credit Memo Application to Transaction Type - HPH INV SELF-PAY PH  Transaction Number P124039PH  Transaction Document Number
  4. Transaction Type - HPH INV SELF-PAY PH  Transaction Number P124039PH Transaction Document Number  credited by Credit Memo Application


Thanks in advance.


Regards,


Abhiit.


1 Solution

Accepted Solutions
thi_pham
Creator III
Creator III

TextBetween(yourField, 'Transaction Number', 'Transaction Document Number')

Or Regex can support for more complex case: Regular expression [A-Z] *

View solution in original post

3 Replies
thi_pham
Creator III
Creator III

TextBetween(yourField, 'Transaction Number', 'Transaction Document Number')

Or Regex can support for more complex case: Regular expression [A-Z] *

aarnkalle
Contributor III
Contributor III
Author

Hi

Great !!! It's working perfectly.

Thanks a lot.

With Best Regards,

Abhijit.

thi_pham
Creator III
Creator III

Great! Then, please mark it as correct answer.