Say I have the string -
some_string <- "this is a string with some numbers 9639998 21057535 1000 2021 2022"
I would like to remove numeric patterns that are 7, characters long, 8 characters long, and 4 characters long, EXCEPT if it is 1000. So essentially I want the following result -
"this is a string with some numbers 1000"