# Replace String Can't Work!

**URL:** <https://community.postman.com/t/replace-string-cant-work/8365>\
**Category:** Help Hub\
**Created:** [October 15, 2019, 7:16am UTC](https://community.postman.com/t/replace-string-cant-work/8365 "2019-10-15T07:16:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxatp21](https://avatars.discourse-cdn.com/v4/letter/f/c77e96/32.png) [@fxatp21](https://community.postman.com/u/fxatp21)\
**Post date:** [October 15, 2019, 7:16am UTC](https://community.postman.com/t/replace-string-cant-work/8365/1 "2019-10-15T07:16:51Z")

</div>

Hi All,  
I have a little problem , there is reponse view on console

 ![12](https://us1.discourse-cdn.com/getpostman/original/3X/3/c/3c1867035fa845f21194860803a04dad3fb1a9c4.png)

in that case , i already replace string : \n , \r, \t with nothing .

 ![2121](https://us1.discourse-cdn.com/getpostman/original/3X/0/2/022d6f9d9b4954a83d3d28548f9a0c49b21cb887.png)

As i show you on first picture , the response didn’t replace string \n \r, anyone can explain me how i can delete that string?

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [October 15, 2019, 9:46am UTC](https://community.postman.com/t/replace-string-cant-work/8365/2 "2019-10-15T09:46:46Z")

</div>

As far as I know, the request object is read-only, so you can’t make any changes to it.

Try building your request body in the pre-request script so that you have full control over it.
