Forum Discussion
MDPF52_180608
Nimbostratus
Jan 29, 2015iRule capture URI Parameter
Hello DevCentral,
I need to catch a parameter from a certain URI i must capture the number sequence in the following pattern and insert it in a variable:
/uri?value=_randomtag&_142254834551...
Michael_Jenkins
Cirrostratus
Jan 29, 2015Here's an example that based on the
scan command that worked in my testing
set isFound [scan $a {%[^&]&_%d%s"} x c x]
x == garbage. no need to do anything with it
c == the ID string
If you have trouble, these two pages help explain as well: here and here
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