Louis27
Jun 09, 2022Nimbostratus
Remove values in the payload
Hello, I am new to the F5 iRules.
I need to remove all the values of '<pan>' in the 'HTTP::payload', either remove all the tags '<pan>' too.
The structure is as below. This '<pan>' can exsit one or more times in the 'HTTP::payload'.
I am wondering if there is 'regex map' like 'string map' to do that?
If anyone can help, i really appreciate it.
Louis
<card>
<expDate>[string]</expDate>
<pan>
<plainPan>[string?]</plainPan>
</pan>
</card>
<card>
<expDate>[string]</expDate>
<pan>
<plainPan>[string?]</plainPan>
</pan>
</card>