I'm using CR10, and trying to parse data from the Exchange Message tracking logs, which are very messy. One field, the receipient, often looks like this:
/O=CELOTEX/OU=WILMINGTON/CN=RECIPIENTS/CN=Administrator
I'm trying to figure out a way to get just "Administrator" out of it, but I'm stuck. I was going to trim around "CN=", but there's more than one instance of it.
Any help finding last, or rightmost instance of "CN=", then just displaying everything after that last "CN=" is greatly appreciated, thanks!
/O=CELOTEX/OU=WILMINGTON/CN=RECIPIENTS/CN=Administrator
I'm trying to figure out a way to get just "Administrator" out of it, but I'm stuck. I was going to trim around "CN=", but there's more than one instance of it.
Any help finding last, or rightmost instance of "CN=", then just displaying everything after that last "CN=" is greatly appreciated, thanks!