Finished one to one function w/ regex