# Using Stream Profile to Replace HTML code with double quotes

**URL:** <https://community.f5.com/t/using-stream-profile-to-replace-html-code-with-double-quotes/36355>\
**Category:** Technical Forums\
**Tags:** big-ip, application-delivery, stream\
**Created:** [September 28, 2018, 4:55pm UTC](https://community.f5.com/t/using-stream-profile-to-replace-html-code-with-double-quotes/36355 "2018-09-28T16:55:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_T\_7105](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Adam\_T\_7105](https://community.f5.com/u/Adam_T_7105)\
**Post date:** [September 28, 2018, 4:55pm UTC](https://community.f5.com/t/using-stream-profile-to-replace-html-code-with-double-quotes/36355/1 "2018-09-28T16:55:49Z")

</div>

Hi Everyone, I am trying to use a stream profile to remove a block of text from a HTTP response, specifically, the text i’m trying to match looks like:

The problem I am running into is that I can’t seem to get this to work with the double quote character. I’ve tried delimiting all the quotes with \ already, and changing them for their hex codes \x22, but nothing seems to work. Anyone have any ideas?

This is the code I’m using:

```tcl
when RULE_INIT {
  set static::search ""
  set static::replace ""
}

when HTTP_RESPONSE {
STREAM::expression @${static::search}@${static::replace}@
STREAM::enable
}

```

---

<div class="post-metadata">

**Author:** ![stan\_piron](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@stan\_piron](https://community.f5.com/u/stan_piron)\
**Post date:** [September 28, 2018, 5:46pm UTC](https://community.f5.com/t/using-stream-profile-to-replace-html-code-with-double-quotes/36355/2 "2018-09-28T17:46:42Z")

</div>

Try this code

```tcl
set static::search {}

```
