Use egrep.