Hi again all,

Thanks for the help before it worked a treat.  What i'm looking to do now
with this file:

ght-Skem
ght-Skem
ght-Skem
hjy-TOB
hjy-TOB
hjy-TOB
etc....etc....

Aswell as removing the repeated data, i could also do with some type of
count next to the device that shows how many times it was repeated. Like:

ght-Skem 3
hjy-TOB 3
etc...etc...

Does anyone know of a way this could be done?

Cheers!

Jonathan Musto

 

BT Ignite Solutions
Telephone - 0113 237 3277
Fax - 0113 244 1413
E-mail - [EMAIL PROTECTED] <mailto:Jonathan.Musto@;bt.com> 
http://www.technet.bt.com/sit/public


British Telecommunications plc 
Registered office: 81 Newgate Street London EC1A 7AJ 
Registered in England no. 1800000 
This electronic message contains information from British Telecommunications
plc which may be privileged or  confidential. The information is intended to
be for the use of the individual(s) or entity named above. If you  are not
the intended recipient be aware that any disclosure, copying, distribution
or use of the contents of  this information is prohibited. If you have
received this electronic message in error, please notify us by  telephone or
email (to the numbers or address above) immediately.






-----Original Message-----
From: [EMAIL PROTECTED] 
Sent: Monday, October 21, 2002 16:09
To: [EMAIL PROTECTED]
Subject: Tidying up repeated data


Hi all,
 
If i have a text file with a list of values i.e.
 
ght-Skem
ght-Skem
ght-Skem
hjy-TOB
hjy-TOB
hjy-TOB
etc....etc....
 
does anyone know of a regular expression to get rid off all the repeated
data, so that i just have a list as follows
 
ght-Skem
hjy-TOB
 
Any help would be much aprreciated!
 
cheers
 
Jonathan Musto

 

BT Ignite Solutions
Telephone - 0113 237 3277
Fax - 0113 244 1413
E-mail -  <mailto:Jonathan.Musto@;bt.com> [EMAIL PROTECTED]
http://www.technet.bt.com/sit/public <http://www.technet.bt.com/sit/public> 


British Telecommunications plc 
Registered office: 81 Newgate Street London EC1A 7AJ 
Registered in England no. 1800000 
This electronic message contains information from British Telecommunications
plc which may be privileged or  confidential. The information is intended to
be for the use of the individual(s) or entity named above. If you  are not
the intended recipient be aware that any disclosure, copying, distribution
or use of the contents of  this information is prohibited. If you have
received this electronic message in error, please notify us by  telephone or
email (to the numbers or address above) immediately.




 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to