Forum Discussion
How to modify AD attribute in variable assign expression?
Is it possible to modify an AD attribute (phone number) to a different format in an variable assign or does this require an iRule.
For example in AD the attribute "telephoneNumber" is set as "+12 34567890"
96171b94.session.ad.last.attr.telephoneNumber 13 +12 34567890
I want to remove the + and have the number in standard format, "001234567890" at the moment we can assume that all numbers will start with +12 and move on from there.
Does anyone know how to achieve this?
Cheers, AM
1 Reply
- alphamonk17_311
Nimbostratus
May be solved already.. https://devcentral.f5.com/questions/irule-regex-to-normalize-phone-numbers
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
