add regex for detail page