What I want to do is select everything except [0-9]{4,7}
. I know negative lookaheads so I tried this: (?![0-9]{4,7})
but the result was strange. Any ideas to get this?
For example,
Sample text for my question!
2020 0316 or 200316
fdsa2020asdf
Desired
Sample text for my question!
or
fdsaasdf