validateEmail String sample

validateEmail String sample
Photo by Daria Nepriakhina 🇺🇦 / Unsplash

flutter or js 에서 사용할 수 있는 email validate String 입니다.

validateEmail String sample

const result = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;

end