Trying to match a string:
I want to match s0000-s9999 WITH THE EXCLUSION OF s0998. All other numbers in that range should match the regex...
Is there any easy way to write a single regex that matches this condition?
I think that it is going to be pretty messy if you want to match everything except s0998 with regex. Here is a link to numeric ranges that might help:
However, if you are doing this for envision, you could just say NOT like s0998 and that would exclude that identifier.