know something backwards/inside out - definition and synonyms

phrase
  1. to be very familiar with something
See also main entry: know