We've gotten several files from a professor who published his dictionary and we convinced him to make it open source and make it freely available online. So now I've ended up with several files with the following format (the actual content is not English and encoded UTF-8)
a a is the first letter of alphabet
abacus N a slate used for counting
abbreviate V to shorten a word
and I want this to be in DSL lingvo format which requires headword in one line and definition in next with a tab in front. like
a
a is the first letter of alphabet
abacus
N a slate used for counting
abbreviate
V to shorten a word
Anything with regex? (\r.*) doesn't seem to work as that would select the whole line.