AnsweredAssumed Answered

Regular expression to clean up AD group returned by LDAP query

Question asked by igorsp on Mar 2, 2016
Latest reply on Mar 3, 2016 by igorsp

I am trying to remove a terminated user from all the AD permission groups using a workflow (Nintex Ent). I query LDAP first to get a list of groups, save it as a collection variable and then I want to use the For Each action with "Remove user from AD group". The problem is that the action is expecting the group name in a different format than query returns:

2016-03-02_16-25-54.png

I assume I should use a Regular Expression to fix it but what should the syntax be?

 

Also, I would like to save the list of all groups to my list item, preferably after fixing it with regex. How do I do that?

Outcomes