Forum Discussion
Narendra_Babu
Nimbostratus
Feb 17, 2015STREAM Expression with exceptions
Hi all,
In my HTTP page (including form), i want to replace a string domain.com to domainservice.com
But i don't want to change if string is @domain.com.
I tried with multiple expressions w...
giltjr
Nimbostratus
Feb 17, 2015You might be able to use a "null" stream match along with STREAM_MATCHED event.
Look at: https://devcentral.f5.com/wiki/iRules.parse_username_from_http_requests_rule.ashx
I don't know exactly how stream works, that is does it "rescan" a string after it has found and done a a replace. Could you specify a second like:
"domain\.comdomainservice\.com \@domainservice\.com\@domain.com"
Not sure if you have to escape and @ sign.
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