Herainbefore or Hereinbefore: How To spell?

The word Herainbefore is misspelled against Hereinbefore, an adverb meaning "In the preceding part of this (writing, document, book, etc.)."

--> Word contains consecutive vowels 'EI' in between alphabets her & nbefore is misspelled as 'AI'
Wrong Spelling:  her-ai-nbefore 
Correct Spelling:  her-ei-nbefore 
Find more incorrect spellings of Hereinbefore to spell right way.

-->