How could i make a regex that matches: uid=user,ou=Drones,dc=unimatrix-one,dc=org but NOT: uid=ftpuser,ou=FTP,uid=user,ou=Drones,dc=unimatrix-one,dc=org and NOT: uid=mailuser,ou=Mail,uid=user,ou=Drones,dc=unimatrix-one,dc=org Regards, Kostko. -- Kostko <kostko@jweb-network.net> JWeb-Network