Forum Discussion
irfans_38826
Nimbostratus
Feb 28, 2008Search and replace a field in HTTP Header
I know iRules are capable of searching and replacing contents of a field in HTTP header, what I am wondering can it be done on dynamic content, in my case I am wondering if you can search for a partic...
hoolio
Cirrostratus
Feb 29, 2008Yes. But there are some TCL-specific variations from standard PCRE regexes. This site has a decent summary (Click here)
To avoid having to escape meta-characters, you can wrap your regex in curly braces:
set my_regex {(?i)[\w]+?[0-9]}
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