for an id _123_, it replaces `/123/`, `/123`, `/123?`, `/123#`, `/123`
and would not replace `/my1234counter/` or `/123c/`