1 채택된 솔루션
옵션
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 04-21-2019 10:53 PM
hi
check this code in background script
var emailAddr='abc123@gmail.com';
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(emailAddr))
{
gs.print('yes')
}
else{
gs.print("You have entered an invalid email address!")
}
If my response helped please mark it correct and close the thread.
Thanks,
Rahul Kumar
Thanks,
Rahul Kumar
6 응답 6
옵션
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 04-21-2019 11:11 PM
I was resolved the same functionality by self and it is working fine.
