result = subject.replace(/[az](?=[0-9])|[0-9](?=[az])/ig, "$& ");
This corresponds to a letter followed by a number, or a figure followed by a letter, without using a second character. Then it replaces the first character with the same character followed by a space.
source share