Forum Discussion
Diego_19194
Nimbostratus
Jul 19, 2007SMTP modify a character in the packet
Hello people,
I have a problem that I need to send a MSISDM in a SMTP packet, but I must to modify the number, it meam remove one number.
Then only option we see is to create an iRule at Big...
hoolio
Cirrostratus
Jul 26, 2007Good to hear that you got the network portion working as you want.
I'm not sure exactly what you're trying to replace with the regex, but the +54 portion is invalid. If you want to match a literal plus sign, you need to escape it:
(\+54)(9)(.*)(TYPE=PLMN)
Also, you might want to take a look at why you are capturing the literal string, '9' and the literal string 'TYPE=PLMN', into backreferences. You could just hard code these strings in the replacement variable.
\+549(.*)TYPE=PLMN
And actually, you could probably accomplish getting the data between two literal strings with string commands like 'string first' and 'string range' (Click here) or possibly scan (Click here).
Aaron
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