P<id> normal behaviour is to capture the string between slashes. But I would need to capture also what is behind slash. Example: https://picasaweb.google.com/myaccount/myalbum I need to capture myaccount AND myalbum to manipulate them in the callback. But It's not possible. Of course, I could use the BB Code system to do this, but I would certainly face the problem of "autolinking" problem. It's quite frustrating to spend hours doing things which requires normally a few minutes.