Forum Moderators: phranque
<filename>-rev<number>[.min].(js|css) <filename>[.min].(js|css) RewriteRule ^(.+)\.(rev\.+)\.(js|css)$ $1.$3 [L] the rev-number is hexadecimal, hence the a-f
(.+)-rev([a-fA-F0-9]+)((\.min)?\.(js|css|png|jpg))$ $1$3
^([^~]+) As for combining my last 2 captures, I do not follow. I was under the impression I already combined them?