in reply to Re^6: Help Needed
in thread Help Needed

/\bdn:\s*ou=([^,]*)/
This would store everything between the ou= and the first comma.

-- 
Ronald Fischer <ynnor@mm.st>