in the main vs such as

in the main

prep
  • Principally; on the whole; for the most part. 

such as

prep
  • For example. 

  • Like, of the kind mentioned. 

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