if only vs insofar as

if only

conj
  • Used other than figuratively or idiomatically: see if, only. 

  • I wish that; signifies a wish or desire for the present or the future. 

  • I wish that; signifies a regret about an action in the past. 

  • Even if for no other reason than; only just. 

insofar as

conj
  • to the extent that 

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