Jim Harbin

RegEx Help?

Discussion created by Jim Harbin on Jul 18, 2011
Latest reply on Jul 18, 2011 by RSA Admin

Trying to match a string:

 

examples:

s1281

s0621

s0998

s1829

s2199

 

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? 

Outcomes