Тёмный

#31 Email Validation in JavaScript 

Telusko
Подписаться 2,4 млн
Просмотров 143 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 139   
@cirusMEDIA
@cirusMEDIA 5 лет назад
I've been avoiding regular expressions for years. This made things very clear. Thanks.
@mrrishiraj88
@mrrishiraj88 3 года назад
Same to me.
@secondbeinnovative
@secondbeinnovative 5 месяцев назад
one of the simplest and best explanation i ever seen on YT. Thanks for making this video .
@pradeepgadi8097
@pradeepgadi8097 3 года назад
This single video is enough to cover all the concepts of regular expression both in Java Script and Unix... thank a lot for this sincere effort.
@suyafiku5731
@suyafiku5731 Год назад
i've been looking around for regexp example, this video explained it well. Now i understand it thank you :)
@HemVardhan-tw9wq
@HemVardhan-tw9wq 5 месяцев назад
Excellent video sir and you are really teaching in an easily understandable way.Loved It.Thank you sir for your great efforts.
@pushpaleelakumari7427
@pushpaleelakumari7427 2 года назад
I had learned many new things from your channel thank you very much
@chennuriprasanthkumar5732
@chennuriprasanthkumar5732 Год назад
Before watching this video, I had confusion in this regular expression concept.Now I have completely and clearly understood this concept Thanks telusko🤝
@abhijeetgaware1057
@abhijeetgaware1057 5 лет назад
that's really amazing way you explained Sir.. Thank you so much 🙏
@syedseraaj4645
@syedseraaj4645 4 года назад
Regex is a vast topic and you have given the right dose of it for form validations in JS , thanks to you :)
@rohangaonkar8912
@rohangaonkar8912 4 года назад
Thanks for such a wonderful video.quality content and that too free. one thing i want to point out that dot has to be escaped when used outside square brackets. inside square bracket it is not needed.
@caiomorato5848
@caiomorato5848 3 года назад
Man this video is so underrated
@sudhakarverma8452
@sudhakarverma8452 5 лет назад
Sir very well and in this video we see how to validation of email explaination is good sir
@SimpleSnippets
@SimpleSnippets 5 лет назад
Thanks buddy ✌️
@rthosarrohini
@rthosarrohini 4 года назад
Thanks for explaining reg expression.
@venkateshk8958
@venkateshk8958 4 года назад
And also ur way of explaining in englishisvery easy to understand... Very good explaining brother...
@BADPRASGAMER
@BADPRASGAMER 2 года назад
Thanks a lot ! It helped me to quickly understand the email validations .
@divyachaudhary1154
@divyachaudhary1154 5 лет назад
Well explained...very easy to understand . Thanks
@venkateshk8958
@venkateshk8958 4 года назад
Hi brother, your class is very easy to understand... This class makes me very happy that how to give regular expression for an Email id.... Thanku so much brother.....
@sangamithram8842
@sangamithram8842 3 года назад
I've never thought regex would be easy. Your explanations made this clear. Thanks
@zeeshan6644
@zeeshan6644 3 года назад
Really well explained. Kudos👍🏻
@taurustaurus3241
@taurustaurus3241 4 года назад
It's the best tutorial on regular expression
@balaramprajapati8870
@balaramprajapati8870 3 года назад
wow very good explantion of regular expression
@sunnyjain630
@sunnyjain630 5 лет назад
your way of explanations was awesome..please provide more videos on jQuery and AJAX Thank you!
@samvedh9519
@samvedh9519 4 года назад
Love your explanations!
@buntyshukla9464
@buntyshukla9464 5 лет назад
This is better explanation than my university professors
@SimpleSnippets
@SimpleSnippets 5 лет назад
Hehe thank you so much buddy. Happy to hear this from you 😊✌️
@mohitdiwakar9558
@mohitdiwakar9558 3 года назад
No other words .... in short PERFECT
@iffathumaira4846
@iffathumaira4846 5 лет назад
you are such a life saver..........thank you sooo muchh
@ShivamSingh-gc6pm
@ShivamSingh-gc6pm 2 года назад
Really amazing explanation. Thanks sir.
@slickwillie3376
@slickwillie3376 4 года назад
Very good video and works great!
@westfield90
@westfield90 5 лет назад
So well explained
@fatamajannat3457
@fatamajannat3457 4 года назад
Have learned a lots of things.Thanks
@redjhone8209
@redjhone8209 4 года назад
thanks a lot for the wonderful explanation, your truly talented
@yashsharma3714
@yashsharma3714 3 года назад
Amazing explanation love u bro....
@romyt9816
@romyt9816 2 года назад
Very well explained, thank you.
@monikagupta1396
@monikagupta1396 4 года назад
sir very well explained, sir it helped me a lot, sir I have liked and subscribed to your channel
@justfun-bro8520
@justfun-bro8520 5 лет назад
Sir firstly, I want to say your way of teaching is superb and so cool. An illiterate learner can easily catch all that line. Sir, "." after @ used in the regular expression is not validating correct mail! this kind of email --> abc@abcd, showing VALID is this right??? var regex= /^([a-zA-Z0-9\.-]+)@([a-zA-Z0-9-]+)\.([a-z]{2,8})(\.[a-z]{2,8})?$/ ; please reply :)
@piyushnaithani7689
@piyushnaithani7689 5 лет назад
Same doubt i got, so i did same as u did, \. Otherwise it will accept all the wild cards
@mohitkaushik21
@mohitkaushik21 Год назад
Thanks a lot sir😊
@rasikamundaye8185
@rasikamundaye8185 4 года назад
This functionality: also works.
@brandyplays6134
@brandyplays6134 4 года назад
ok boomer
@codebynilay9438
@codebynilay9438 4 года назад
Yes but sometimes you need to use Regex only so 🤷‍♂️
@shadestorm3995
@shadestorm3995 4 года назад
Amazing Explanation.
@krishnaprasad5672
@krishnaprasad5672 5 лет назад
it's very helpfull, thank U sir.
@SimpleSnippets
@SimpleSnippets 5 лет назад
Thanks buddy 😇
@gabrielfono844
@gabrielfono844 4 года назад
it is absolutely well explain
@americacaptain7140
@americacaptain7140 3 года назад
Why can't we use the input type as email. Won't it work good for validation. What are the advantages compared to input type email.
@roshanroy5453
@roshanroy5453 3 года назад
The way you included dot is incorrect
@buvanas1544
@buvanas1544 2 года назад
Thank you for this good video!
@dvydz
@dvydz 5 лет назад
For the . that you have been putting between ( )( ) shouldn't you be putting a \ before it because without a \ ,even abc@google@com works just fine. but we need it to be .com right? That's what I got. Correct me if I am wrong.
@rishigoswami4637
@rishigoswami4637 5 лет назад
Ya, you are correct. Here "." is working like a wild card entry.
@trueprogresstp2308
@trueprogresstp2308 4 года назад
you are too mush sir seriously God bless your work sir
@jeyananthinin3985
@jeyananthinin3985 2 года назад
Super...very clear
@bsarun7266
@bsarun7266 3 года назад
very informative one..
@m.yoganrajyogan8797
@m.yoganrajyogan8797 5 лет назад
nicely done brother...
@tomasmatusek6292
@tomasmatusek6292 3 года назад
Can I ask, I know that if u use in input type="email, so than it will be automaticly corrected you if u make it wrong, and dont use the corect brand for email.?
@pavanviswakarma9825
@pavanviswakarma9825 4 года назад
Hello bro I have been watching u series its very good as in this video In the email validation I have found one issue in reg ex that (ex: abc@gmail) is also showing valid so I did some changes in reg ex and it working for me now
@waghdipak2358
@waghdipak2358 4 года назад
which reg ex have you used???
@sanjayms7956
@sanjayms7956 4 года назад
Yeah same issue here also.. Could u tell me a solution for this?
@atharvbidwe6613
@atharvbidwe6613 3 года назад
One update here "@([a-zA-Z0-9-]+).([a-z]{2,20})" there shouldn't be only dot (.) between these two parts, instead it should be (\.) now , as i tried only with dot(.) it wasn't working but I tried (\.) it worked.
@hamzaamjad5036
@hamzaamjad5036 5 лет назад
hi i watched all your tutorials till now in this tutorial i have little bit confusion i am creating the two regression expressions for one is for roll no validation and other is for mail validation but calling in same functions but its not working so kindly guide me i have searched on google and many more
@sahanashanbhag4842
@sahanashanbhag4842 4 года назад
why the other two dot operators which are used in regular expression are not escaped ??
@blackpurple9163
@blackpurple9163 2 года назад
Make also a Password validation regEx Also a way to validate the pattern (of any kind like name, number, email etc) as the user is typing, so the input will be invalid unless and until the pattern is matched, how to do that?
@mrrishiraj88
@mrrishiraj88 3 года назад
Why did we not 'escape' dot characters for extension parts? Why not \. ?
@gabrielfono844
@gabrielfono844 4 года назад
bro you are legit. some tips for me preparing for amazon,facebook and microsoft as front end engineer
@vir9517
@vir9517 5 лет назад
Can you please teach us how to use firebase 🔥 by Google coding and more..........
@sanjayat828
@sanjayat828 4 года назад
thank you, very helpful
@CodeWithMe11
@CodeWithMe11 Год назад
Thanks a lot sir
@arunsuthar4783
@arunsuthar4783 2 года назад
bro amazing bro
@CosmosHole
@CosmosHole 2 года назад
I just started to like regex 👍👍
@suryakiransuravarapu8081
@suryakiransuravarapu8081 5 лет назад
Well explained
@rajeshkumar-gf1we
@rajeshkumar-gf1we 3 года назад
sir at the dot extension who have give only .([a-z) but if you remove that dot its sitll valid \.([a-z) this is working properly
@techsolexpert1000
@techsolexpert1000 5 лет назад
Sir how we can validate when we select any radio button so textbox show require according to selected radio
@SimpleSnippets
@SimpleSnippets 5 лет назад
You mean you want to hide and unhide textboxes based on which radio button is selected right? It's simple. We have already seen how to use radio buttons. So keep the textboxes hidden in the start by using the visibility attribute as hidden. When a radio button is selected, change the visibility attribute of the respective textbox to visible ✌️
@techsolexpert1000
@techsolexpert1000 5 лет назад
@@SimpleSnippets I want when radio is selected then textbox show required field until form submit
@dikshantyadav1110
@dikshantyadav1110 5 лет назад
bro u used . directly in regex while evaluating the expression after domain name?
@ganeshhojage3587
@ganeshhojage3587 5 лет назад
yup i have same dought how he can use directly
@mrunalipunde4755
@mrunalipunde4755 4 года назад
yes and that's why it is accepting wrong email also.....for eg. abc@gmail .........but when I replaced . with \. it is working fine.
@gkmishra2009
@gkmishra2009 5 лет назад
Can you Give Video on "MongoDB, Windows Service bus"
@akshaypoojary1083
@akshaypoojary1083 4 года назад
Why submit button disappear after 1 use I have to rerun code pls tell the solution
@ramprasad.v8459
@ramprasad.v8459 4 года назад
How can we use both phone no and email validation in the same form...
@dhrutijoshi3701
@dhrutijoshi3701 4 года назад
what is the reason behind this backward slash you use in every tag at the end????
@fun-ih5sc
@fun-ih5sc 4 года назад
its part of syntax..
@joshuajash5094
@joshuajash5094 5 лет назад
Sir i found in the beginning u include Capital A-Z.....After in the 15th minute u just skipped and exclude that without intimation
@suryakiransuravarapu8081
@suryakiransuravarapu8081 5 лет назад
Good catch.! but just a guess while you validate expressions you divide it into parts and then you change either to caps or small according to your code while you take from user
@sakshiagarwal1246
@sakshiagarwal1246 3 года назад
For the final RS, if we type only abc@gmail, it is giving valid as the answer, though it should be invalid na? How is it happening and how can we resolve it?
@amitpatil9258
@amitpatil9258 4 года назад
What is the use of highfon(-) Can you tell me please??
@codebynilay9438
@codebynilay9438 4 года назад
the hyphen is sort of like a range thingy so when you type in a-z the compiler(/editor) can read it as all letters(/alphabets) from 'a' to 'z' (in lowercase). If you want you can read it as a to z (better for understanding) :)
@tanujajagadeesh1665
@tanujajagadeesh1665 5 лет назад
Can't we use here \w ? than writing so long-expression.
@codebynilay9438
@codebynilay9438 4 года назад
You can I think bc he wanted to explain it in an easier way he wrote the whole expression
@yashwantkaki5072
@yashwantkaki5072 4 года назад
But this will start the email id with a . Too?? And that's an invalid email I guess
@dipakkuchhadiya9333
@dipakkuchhadiya9333 5 лет назад
I like it 👌🏻
@TmBro-fs9td
@TmBro-fs9td 2 года назад
1:35 How did it showed valid when nothing was assigned in var regx
@AnkitRohila-vw9jm
@AnkitRohila-vw9jm 4 года назад
Very nice ........ one question, this email address is valid with your expression 'xyz@xyz.co' ... but I think it should not
@vaishuks4170
@vaishuks4170 Год назад
Hi..If i put 2 dots/hypen together then it is taking as valid..but it should be invalid right..please help me fix this issue🙏🙏
@phpprojects
@phpprojects 5 лет назад
Nice tanmay sir! but this RE is not working properly for email. If we remove dot from email then still its showing valid. I think this one is working proper.. /^([a-zA-Z0-9\.-]{4,10})([@][a-zA-Z-]{3,10})([\.][a-z]{2,10})$/ well thank you for good explanation!
@abhinavk6502
@abhinavk6502 4 года назад
What to do if we need any spaces??
@atultodkar977
@atultodkar977 4 года назад
The Email must contain a unique value problem hai plz give me solution
@lasithadulshan7357
@lasithadulshan7357 3 года назад
Thanks you ..!
@kaustav07
@kaustav07 5 лет назад
In my html document the valid and invalid statement are not staying they are staying for like 0.1 second
@vishaljais3467
@vishaljais3467 4 года назад
have you put onclick on your button
@ruans.p.5323
@ruans.p.5323 3 года назад
Thanks.
@ishmamnahir
@ishmamnahir 5 лет назад
Sir how could we use python for ethical hacking
@Nikhil-qi4oz
@Nikhil-qi4oz 5 лет назад
👌
@SimpleSnippets
@SimpleSnippets 5 лет назад
Thank you ✌️
@hayhidoziko7976
@hayhidoziko7976 5 лет назад
Plz sir where can i find the full code?
@SHACREATIONSYT
@SHACREATIONSYT 4 года назад
You didnt aded underscrore in username
@R4man
@R4man 5 лет назад
But it is showing valid for an email like "telusko@gmailcom" too, which doesn't have a dot in it :/
@sagnikchakraborty3629
@sagnikchakraborty3629 5 лет назад
Please add a slash \ just before the dot . It works that way. var regx = /^([a-zA-Z0-9\.-]+)@([a-zA-Z0-9-]+)\.([a-z]{2,8})(.[a-z]{2,8})?$/;
@santoshsoniDG
@santoshsoniDG Год назад
Bhai Thoda dheere bola karo yaar
@rthosarrohini
@rthosarrohini 4 года назад
Ur video not clear to see. Plz make clear video so that we can learn the coding.
@roshanroy5453
@roshanroy5453 3 года назад
This is wrong
@horror4097
@horror4097 3 года назад
I can make this gun talk
@jagadeeshmandala4097
@jagadeeshmandala4097 4 года назад
Someone please send me code here.. Pleasee
@deepaksrinivasan9112
@deepaksrinivasan9112 3 года назад
var reg=/^([a-zA-Z0-9\.-]+)@([a-zA-Z0-9-]+)\.([a-zA-Z]{2,5})(\.[a-zA-Z]{2,5})?$/; -->working correctly
@codingwithlalit852
@codingwithlalit852 3 года назад
i want code
Далее
#26 Form Validations in JavaScript
12:25
Просмотров 514 тыс.
Handsoms😍💕
00:15
Просмотров 5 млн
JavaScript Form Validation For Beginners
16:37
Просмотров 31 тыс.
How I would learn to code (if I could start over)
10:52
Think Fast, Talk Smart: Communication Techniques
58:20
Email validation Using Javascript | With Source Code
17:34
Useful JavaScript STRING METHODS 🧵
8:03
Просмотров 21 тыс.