backward and forward
backward and forward or backwards and forwards {adv. phr.}
To the full extent; in all details; thoroughly; completely.
He understood automobile engines backwards and forwards.
He knew basketball rules backwards and forwards.
I explained matters to him so that he understood backwards and forwards how it was.
Categories:
Source: A Dictionary of American Idioms