Forum Discussion
mihaic
Jan 27, 2015MVP
Http class to irule conversion?
Does anyone know how to convert a http class to an irule.
Starting with version 11.4 it seems http classes do not exist anymore.
I need to convert a lot of http classes to an irule for a new device w...
mihaic
MVP
I tried search/replace too. It works only to a point. Right now i don'knoe how to move a line above the other (and do the same for 300 lines)
Thanks anyway!
Jan 27, 2015
Editors like i.e. Notepad++ have a RegEx based search/replace option.
Sample search pattern below finds corresponding lines starting with whitespaces and "pool" followed by a line with whitespaces and "paths".
Matching strings in parentheses are buffered in \1 and \2 to be used for replacement. This way lines will be exchanged:
search: ^([[:blank:]]+pool[[:blank:]]+.*)\r?\n([[:blank:]]+paths[[:blank:]]+.*)\r?\n
replace: \2\n\1\n
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