Forum Discussion
Raymond_Feng_97
Jul 31, 2012Historic F5 Account
urgent: need help for regular expression ?
Hi, all Sorry , I am on site , can anybody help to create one line simple iRule to get the FQDN from the below sip string ? ECSCF-Simulator7.P-LRF.com;lr> Route: ECSCF-Simulator7.P-LRF.com...
hooleylist
Jul 31, 2012Cirrostratus
Can you post a few more examples of the two different header values?
Are you able to parse the route and contact headers using separate logic?
Here's a first stab at a combined regex that matches the domain of both examples you've shown:
(?:(?<=@).*?(?=;|:)|(?<=
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