The text and output to be extracted are similar to the following :
"Check it every two weeks" - two weeks
"Check it on day 1 and day 14" - day 1 and day 14
"day 19 and day fourteen are important" - day 19, day fourteen
"Check it on days 11 and 14" - day 11, day 14
"check it on day one and twelve" - day one, day twelve
I have tried using SUTime library to extract the necessary information, but it just works in the case of first example and fails to properly extract information from the rest. Considering the many ways in which the same text can be written, it is not very feasible to use ReGex. Are there any other solutions for this problem?