Text (9th+errata): {2},{Tap}, Sacrifice ~this~: Search target player's library for three cards and exile them. Then that player shuffles his or her library. [Oracle 2009/07/08]
If the player has less than 3 cards in their library, just remove all the cards that are there. [D'Angelo 1997/05/13]