diff options
author | Blaster4385 <venkateshchaturvedi12@gmail.com> | 2022-08-17 11:25:45 +0530 |
---|---|---|
committer | Blaster4385 <venkateshchaturvedi12@gmail.com> | 2022-08-17 16:40:35 +0530 |
commit | e563ee2f67f5289c0ca50da6f55e874ae8a0136f (patch) | |
tree | 499ec4a9f0699ea9e40f405a118c2ead490d818d /client | |
parent | 367eec8f9e45ac866ae532c75abb7f9c6e1fe4dd (diff) |
Fix string regex
Diffstat (limited to 'client')
-rw-r--r-- | client/src/constants/RegEx.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/constants/RegEx.js b/client/src/constants/RegEx.js index fca28f1..6c2ebbc 100644 --- a/client/src/constants/RegEx.js +++ b/client/src/constants/RegEx.js @@ -1,4 +1,4 @@ -export const validString = /^[a-zA-Z]+$/ +export const validString = /^[a-zA-Z ?]+$/ export const validMobileNumber = /^[0-9]{10}$/ |