… will NOT match (and then redirect) index-1-2-3 as you stated. The leading - will prevent that.
Rather than waffle through your coding attempts (and whine at you about why your code is inadvisable), let me refer you to the mod_rewrite tutorial linked in my signature as, IMHO, you need to learn some proper regular expression syntax in order to achieve your goals.
If you have questions, you know where to find me. Now, after you’ve learned some regex, please show your code again and I’ll be happy to help you get where you want.