Replace direct links on reports with pattern