use regexp in replacer