help on extract, very simple

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dernyn
Posts: 2
Joined: Mon Oct 27, 2008 12:18 am

help on extract, very simple

Post 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
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: help on extract, very simple

Post 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
dernyn
Posts: 2
Joined: Mon Oct 27, 2008 12:18 am

Re: help on extract, very simple

Post by dernyn »

thank you
Post Reply