Some regex to compare with strings

This commit is contained in:
Peter KW 2024-04-13 21:12:46 +02:00
parent 0e2b62f5ba
commit 395e855257

View file

@ -0,0 +1,9 @@
/**
* Only alphanumerical characters
*/
export const alphanumeric = /^[a-zA-Z0-9]+$/;
/**
* Only lowercase letters
*/
export const lowercase = /^[a-z]+$/;