adds regex to remove whitespace and add a + for text field