I think replace is for modifying packet bytes in IPS mode and not for transformations that affect content matching.
replace
content