to the letter vs with strict attention to detail

to the letter

adv
  • Literally, exactly, following the rules as written. 

with strict attention to detail

How often have the words to the letter and with strict attention to detail occurred in a corpus of books? (source: Google Ngram Viewer )