Im loading a rule to create special url..
The problem, is getting out of control because the rule I made has no limit in its structure ...

my.htaccess file:

AddHandler application/x-httpd-php .htmlop
Options +FollowSymLinks
RewriteEngine on 

RewriteRule finders-(.*)\.htmlop /index.php [NC,L] 

Good example url :
domain.com/finders-ground.htmlop

Bad, problem url's :
domain.com/finders-ground.htmlop.htmlop
domain.com/finders-express.htmlop-
domain.com/finders-ground-express.htmlop-

To fix this I've tried :
Redirect /finders-(.*).htmlop.htmlop http://domain.com/405.html

but ,any ideas?

    So... what if you only allowed letters, as well as used starting- and ending-string delimiters, so that ONLY those keywords are matched, like so:

    RewriteRule ^finders-([a-z]*)\.htmlop$ /index.php [NC,L]

      Well, thanks bradgrafelman your idea works well on most of, but I do see a problem...

      The "-"
      problem example:
      domain.com/finders-ground-.htmlop

      the url includes multiple dashes to seperate longer url's. I had to allow this in the htaccess

      RewriteRule ^finders-([0-9|a-z]*)-([0-9|a-z]*)-([0-9|a-z]*)-([0-9|a-z]*)\.htmlop$ /index.php [NC,L]
      RewriteRule ^finders-([0-9|a-z]*)-([0-9|a-z]*)-([0-9|a-z]*)\.htmlop$ /index.php [NC,L]
      RewriteRule ^finders-([0-9|a-z]*)-([0-9|a-z]*)\.htmlop$ /index.php [NC,L]
      RewriteRule ^finders-([0-9|a-z]*)\.htmlop$ /index.php [NC,L]
      

      Would expressions allow the dash to be included?

        So you want dashes, letters, and numbers to be allowed? Something like this should work...

        RewriteRule ^finders-[0-9a-z-]*\.htmlop$ /index.php [NC,L]

          Not exactly what I was trying to get at..

          RewriteRule ^finders-([0-9|a-z]*)-([0-9|a-z]*)\.htmlop$ /index.php [NC,L]
          RewriteRule ^finders-([0-9|a-z]*)\.htmlop$ /index.php [NC,L]
          

          The above code will allow one or two word variables in the URL
          domain.com/finders-ground.htmlop
          domain.com/finders-ground-select.htmlop

          The concern is not allowing the following to output :
          domain.com/finders-ground-.htmlop

            Ah, okay, so it can't end in a hyphen. Try...

            RewriteRule ^finders-([0-9a-z]+)(-[0-9a-z]+){0,3}\.htmlop$ /index.php [NC,L]
              Write a Reply...