Files
astuto/app/javascript/constants/regex.ts
Riccardo Graziosi 4c73b398e8 Add OAuth2 authentication (#147)
- Added Site settings > Authentication section
- Create/edit/delete your custom oauth2 configurations
- Login or signup with oauth2
2022-08-05 18:15:17 +02:00

2 lines
111 B
TypeScript

export const EMAIL_REGEX = /(.+)@(.+){2,}\.(.+){2,}/;
export const URL_REGEX = /^(ftp|http|https):\/\/[^ "]+$/;