validation
This commit is contained in:
1 parent
af4c9d8f91
commit
b6004241e7
8 files changed
+113
-10
No files matched your search
@@ -0,0 +1,4 @@
|
||||
export const specialCharPattern = /[!?@#$%^&*()\-_=+[\]{};:'",.<>~`|\\/]/;
|
||||
|
||||
// Unicode-aware name pattern (allows letters, marks, apostrophes, parentheses, hyphens, periods, spaces)
|
||||
export const namePattern = /^[\p{L}\p{M}''()\-\. ]+$/u;
|
||||
Reference in new issue
Block a user