Forum Discussion
David_Homoney
Nimbostratus
Mar 06, 2008Regex in STREAM
So I am attempting to use regex with the stream profile in an iRule. I need this to catch all hrefs execpt for ones with a css file extension. I have tested this with regex buddy and it looks good, bu...
hoolio
Cirrostratus
Mar 06, 2008I can't really see a way of getting an exact match without lookbehinds. Maybe you can try Deb's collect/release suggestion in the codeshare (Click here). If you end up using a regex for matching links, you can use this to match more variations: (?i)href\s*=\s*(?:'|")[\w.:/]+(?:'|"). You could then add logic to update any matches which don't end in .css' or .css".
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
