replace singular extension with search extension