Forum Discussion
agentile_2106
Oct 25, 2010Nimbostratus
Count same pattern row in HTTP::payload
Hi all, i'm going crazy to find a way to count some field on HTTP::payload.
See the attached files. It's an HTTP post, as you can see there are multiple "loc:addesses" rows, 29 in this case. ...
hooleylist
Oct 25, 2010Cirrostratus
Hi Antonio,
The only option I can think of to count the number of instances of a pattern in a string is regexp:
regexp -indices -all {123} abc123123abc
2
http://www.tcl.tk/man/tcl8.4/TclCmd/regexp.htmM7
Aaron
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