my tech ramblings, some tips and tricks, but mostly just a place for me to b1tch
Tuesday, April 19, 2011
bash (shell) code to verify email address
I used the regex from here, and modified it to accept lower case letters.
if [[ "$email" =~ "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$" ]]
then
echo "Email address $email is valid."
else
echo "Email address $email is invalid."
fi
Today i am feeling so much happy because actually i was looking information about email verification service . Just now i have read this blog content attentively then i got more helpful information about it. I am really surprised for that. Thanks for your good job.
Thumbs up
ReplyDeleteToday i am feeling so much happy because actually i was looking information about email verification service . Just now i have read this blog content attentively then i got more helpful information about it. I am really surprised for that. Thanks for your good job.
ReplyDeleteEmail Marketing is a great way of promoting your business.
ReplyDeleteemail verification service