Remove regex end on include urls