I'm trying to use regex expressions to catch some incoming urls, but I'm having trouble putting the right expression together.
Basically I'm trying to rewrite
mydomain.com/abc12
into
mydomain.com/default.aspx?referrer=abc12
The extension will always be a 5 character [a-z0-9]
code, and I can't work out how to match only that specific combination. Anything I write seems to catch all my CSS files and everything as well.
Really I just need to grab that 5 char code, so if you have other suggestions as to how to do that I'm open to other recommendations as well.