Added regex for textfield