Change the regex to not catch spaces, change spaces to tabs.