Forum Discussion
Nik
Jan 06, 2011Cirrus
stream 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....
hooleylist
Jan 06, 2011Cirrostratus
I 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 {@
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