help on extract, very simple

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

help on extract, very simple

Postby dernyn » Mon Oct 27, 2008 12:47 am

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: 2138
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: help on extract, very simple

Postby DataMystic Support » Mon Oct 27, 2008 9:28 pm

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
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

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

Re: help on extract, very simple

Postby dernyn » Tue Oct 28, 2008 1:00 am

thank you


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest