Generally you do this as part of the import – screening out topics and users you don’t want to arrive – not after the fact.
Most forums are chock full of shell / spam / bogus accounts that should be trimmed before they come in. Which is not too hard since they generally have no posts, either.