Nick_Matthews
Aug 21, 2008Altostratus
Search and Replace with iRule
Hi,
I am hoping someone can help.
What I want to do is search in the header for a specific user agent and then find and replace a specific word in the html. Can some one give me some pointers on how I might do this.
This is what I have so far:
when HTTP_REQUEST {
if { [HTTP::header "User-Agent"] contains "xxx"}
{
How do I now search for the text and replace it?
Any help would be appreciated.