in reply to Removing lines ending with integers larger than x
perl -i.orig -pe '$_ = "" if /(\d+)$/ && $1 >= 47' [download]
(If you are on windows, you need to swap the '' and "" quotes).