delete following returns in indesign 3

hello scripter,
the following two lines worked in indesign 2:

set triplereturn to (return & return & return)
delete (every text whose contents = triplereturn)

What to change in indesign 3?

thanks