I need help asap... been struggling with this for past 3 hours!!

You could use a Regex in the Expressio node

parse_int(regex_extract($["duration_txt"], "(\\d+)(?=mon)", 1))

RegEx Split String - KNIME Forum (89900).knwf (50.2 KB)

3 Likes