I would call a valid email
([a-z][A-Z][0-9]) @ ([a-z][A-Z][0-9]) . ([a-z][A-Z][0-9])
I have this code:
Code:
loop_enter_valid_email=1
while test $loop_enter_valid_email = 1
do
echo "Enter email: "
read email
if test $email = valid **************************
then
loop_enter_valid_email=0
else
echo "Email is invalid"
fi
done
It is the line, marked with the stars*******
that I dont have
If someone would be so helpful, to give me a line that would fit in there, I would be very happy
and similar code to check if website is valid
Thanks