Sorry, that’s M$ code which is typically over complex. Since this is the Apache forum, I’ve move your thread to the Server forum where our IIS guys hang out.
Edit:
Eek! Someone did it while I was responding!
As for your code, it (the regex) appears to be fine but I’m not familiar with this syntax.
Actually, in the Apache (original) mod_rewrite, the character range definition uses hyphens to define character ranges so it has to be either the first or last character in the definition to remove the ambiguity (FIRST is preferred). It took Wyatt (our “paid M$ Shill”) to see that M$ likes to escape characters rather than rely on their positioning! :tup: