Resolved! Regular Expression help
I need to extract the user name from an AD attribute. The string looks something like "CN=Rosana Smith,OU=Employees,..." I wrote an expression of: var mike = str.match(/\b(\w)+ (\w)+/jg); This works, except if I run into a name of Rosana Smith-Jones,...
