Since only the first 3 characters for the English-language mnemonic matter, I prefer to reduce the words to just the first 3 letters only, for cold storage purposes. I would like to do this with a regular expression, to avoid manual errors.
What would be the shortest regular expression to do this? Note that I want a newline at the end. I will post my current solution, looking forward to see a shorter one.