Page 1 of 1

help on extract, very simple

Posted: Mon Oct 27, 2008 12:47 am
by dernyn
member: CN=SCHDC0001,OU=Domain Controllers,DC=usa,DC=xl
member: CN=MRYDC0001,OU=Domain Controllers,DC=usa,DC=xl
member: CN=CHIDC0001,OU=Domain Controllers,DC=usa,DC=xl
member: CN=YT2DC0001,OU=Domain Controllers,DC=usa,DC=xl
member: CN=EXTDC0002,OU=Domain Controllers,DC=usa,DC=xl
member: CN=BDADC0005,OU=Domain Controllers,DC=usa,DC=xl
member: CN=ME1DC0001,OU=Domain Controllers,DC=usa,DC=xl


and i just want the value of CN=xxxxxxxx


the end result should give me
SCHDC0001
MRYDC0001
CHIDC0001
YT2DC0001

Re: help on extract, very simple

Posted: Mon Oct 27, 2008 9:28 pm
by DataMystic Support
Easy, just use EasyPattern search/replace

Code: Select all

CN=[ capture( longest 1+ not comma ) ]
Set the replacement to:

Code: Select all

$0\r\n
and check the Extract option

Re: help on extract, very simple

Posted: Tue Oct 28, 2008 1:00 am
by dernyn
thank you