removed unnecessary permission
changed regex pattern and input type