Hi, thanks for that - it sort of works, but only seems to find the first repeat. For example if my file looks like:
TRHF 0
KJKF 0
DFJE 0
DJFE 0
KSLR 0
SKJR 0
HGDF 0
TRHF 0
KJKF 0
it will remove the second 'TRHF 0' but stop there and leave all the other repeats. Any ideas? I'm quite new to perl so be gentle!