Replace url_reg with url_sub