in re vs in the way of

in re

prep
  • In the matter of; with regard to. 

in the way of

prep
  • In relation to; in connection with; with respect to. 

  • Similar to; as an instance of; as a kind of. 

  • In or into a position of being likely to obtain, to attain, or to achieve. 

How often have the words in re and in the way of occurred in a corpus of books? (source: Google Ngram Viewer )