Removing part of the URL

My site has IDs as part of the URL structure, but I don’t want it to be included in the Pages report. For example, I might have these urls tracked:

/item/001/history
/item/002/history
/item/003/history

For my purposes, these are all the same page but Piwik is treating them differently so my visit counts, transitions, etc. are split. I need a global picture of all visits to a history page, regardless of which item they’re looking at. Is this possible?