I need to parse a string from this:
CN=ERT234,OU=Computers,OU=ES1-HER,OU=ES1-Seura,OU=RES-ES1,DC=resu,DC=kt,DC=elt
To this:
ES1-HER / ES1-Seura
Any easy way to do this with regex?
closed as off-topic by Marius, legoscia, Prashant Kumar, Peter Schuetze, Maerlyn Nov 27 '13 at 15:19This question appears to be off-topic. The users who voted to close gave this specific reason:
|
|||||||||||||
|
Don't use |
|||||
|