in connection with vs to do with

in connection with

to do with

prep
  • Used after a pronoun or determiner without the verb have or have got. 

  • Used after the verb have or have got and a pronoun or determiner. 

  • Used directly after the verb have or have got. 

How often have the words in connection with and to do with occurred in a corpus of books? (source: Google Ngram Viewer )