Not a regEx but works:

function killDuplicateLines tList
  put empty into prevL
  repeat for each line L in tList
    if prevL is not L then put L & cr after newList
    put L into prevL
  end repeat
  return newList
end killDuplicateLines


Best,

Mark

On 9 Aug 2006, at 14:36, Ton Kuypers wrote:

1
        1
        1
        2
        2
        3
        4
        4
        4

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to