Wow I liked it! @ArjenEX though I can’t find Regex Extractor extensions, can this be use in Regex Split node so I can try it? or the code can be used too in Column Expressions?
I can recommend to open the link I embedded in the post and follow the installation instruction which are referenced in the top right
Regex split requires a different way of writing. Column Expression can potentially be used but then you have to completely reverse the pattern because you need to regexReplace everything that is not equal to the original pattern
Thank you @ArjenEX! Will try to install it but would you mind if you could provide the code if we will use column expressions node? But if it will take your time, no worries.
I will always try to help if I have the time (and any ideas!), but as you can see, the KNIME community forum generally has plenty of good people available, such as @ArjenEX, to assist!
btw, I don’t think I have anything to add other than to note that the expressions that @ArjenEx gave for Column Expressions could also be ported to a pair of String Manipulation nodes, where the expressions would become:
Hello @ArjenEX, thank you so much for your help. Sorry just wondering what if the data will be as below in which ‘BNF=’ is not part of the data. Is there a way that it will return as blank if BNF= is missing or it is not possible? Appreciate your thoughs. Thanks again!!
Data:
/REF-6212187H0944075
/ENTRY-06 JUL POSTED=15:51
PYTR BOOK TRANSFER DEBIT
ORG=IRAS
OGB= DBS BANK LTD
OBI=INCOME TAX