in reply to Removing lines ending with integers larger than x

Something along the lines of
perl -i.orig -pe '$_ = "" if /(\d+)$/ && $1 >= 47'

(If you are on windows, you need to swap the '' and "" quotes).