I'm provisioning groups in AD an naming them according to DepartmentName in HR. off course HR uses & % \ / , and other fun stuff, so i need to do some regex before exporting DepartmentName to sAMAccountName. I'm doing the Regex on Import Sync. rule.
CustomExpression: ReplaceString(NAVN,"/","") works fine, but this is only fixing the /'s what i need is something that can do:
ReplaceString(NAVN,"/" or "\" or "," or "&","") but this apparently is not valid.
Does any of you have a CustomExpression to do this "simple" action?
/Frederik Leed