I'm not much familiar with Regular expressions. I've a string from which I need to extract specific values using regex. Here is the string
CN=ReportingGroup {b4f3d644-9361-461e-b604-709fa31f2b9e},OU=DOM USERS,DC=domain,DC=com
I want to get the values of CN and OU namely "ReportingGroup {b4f3d644-9361-461e-b604-709fa31f2b9e}" and "DOM USERS "
from the above string. How can i construct the regex pattern for that?