Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Extract Student number

I have excel data which contains many columns, one column called Description has the following data, I want to extract student number from each row using KNIME

Example below are three different rows

Being Settlement of exam fee, student Number IMIS/C/5946/7/5/2021/5690 in respect of Flora Hamis
Being Settlement of school fee, student Number IMIS/C/28727/14/7/2022/28980 in respect of Tony Alex
Being Settlement of Life Assurance, student Number  IMIS/C/28020/23/6/2022/28279 in respect of Richard Nixon

Here is my attempt

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

regexReplace($Description$,^IMIS/\w{1}/\d/\d/\d/\d\s? ,"$1" )

>Solution :

This should work:

/\bIMIS\/C\/\d+\/\d+\/\d+\/\d+\/\d+\b/gm

Try it here: regex101

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading