Got rid of regex - cleaner now since i just iterate & match chars - no risk of user typing . and getting a regex match on .