When I am trying to rewrite an expression, in URL Rewriting Policy Configuration, with regex it doesn't work with body but, with header it works perfectly. For example:
- Configuration
- regex: "\w+"
- replacement: "changed"
- header: true
- body: true
and result is that every header value contains a lot of "changed" words and in body is changed just first word, in my case "https"