Forum Discussion
Nik
Cirrus
Jan 06, 2011stream find/replace expression with an exclude
hey guys i'm stumped with a find/replace situation. let's say i have these three strings:
"this is a string"
"i am a string"
"this is not a string"
now....
hoolio
Cirrostratus
Jan 06, 2011I think this might work, if you only want to rewrite a href's:
when HTTP_REQUEST {
Disable the stream filter for all requests
STREAM::disable
}
when HTTP_RESPONSE {
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Match a tags for http://www.domain.com/
STREAM::expression {@Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
