[eluser]Killswitch[/eluser]
Hey guys, long time no talk, been busy working.
My problem is I'm setting up my site uri routes to allow the following formats.
mysite.com/category
mysite.com/category/page
mysite.com/catgory/item-slug
mysite.com/7randchars
So far I got the first 3 down, I can easily make my site go to the right controllers and methods doing that, but the last one, /7randchars is sorta like a key... What it does is allow my site to have it's own "tiny url" feature for Twitter and sharing, but for some reason I can't figure out how to restrict the uri section to only 7 chars before taking it to be a category or something.
Any ideas? I want to restrict it to only 7 characters, and Alphanumerical characters that can be upper and lower case.
Thanks in advance. Regular Expressions isn't my strong point