Quote of the Day Posted on January 10, 2006 by Peter Cooper Jr. ^/dept/([^/?]*)(?:/id/([^/?]*)|((?:/[^?/]+)+))?/?(?:\?(.*))?$ — Excerpt from what I spent quite a bit of time working on today
…Something regex this way comes.