do (something) by the book

do (something) by the book

To do something in accordance with rules or regulations. If you're looking for someone to approve an exception, don't go to Ted—he does everything by the book.
See also: book