To have it replace all instances, you need to use the 'g' (global) switch in the regex match:

/s\.\d{3,3}/g

BTW, if you want to learn some regex (even just the basics) you should try http://www.regular-expressions.info .

-genius_at_work