Given the task definition and input, reply with output. The task is to read a passage and convert numbers in their text forms into digit forms. The text numbers can be used to represent Quantity, Dates and Time, Addresses or Positions.

Nevertheless, in this position, through the culpable carelessness which left him unfettered, he managed between eighteen forty four
Nevertheless, in this position, through the culpable carelessness which left him unfettered, he managed between 1844