Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka Python Course curriculum, Visit our Website: bit.ly/2OpzQWw
@isaacway44496 жыл бұрын
Thanks for the video. Your example at 31:00 is explained incorrectly, I'm afraid it might confuse people who watch this video. You match the pattern "\d{5,7}" to the string of numbers and explain it as "Searching for the numbers in the range 5-7 and matching to those numbers." Thats not actually what the curly-brace syntax specifies. The curly brace syntax \d{5,7} means match ANY number character (0-9) such that there are 5 to 7 number characters in a row. You explain it as matching any number characters in the range 5-7, the fact that there were 3 matches was purely coincidence created by the fact that the strings were literally digits in order from 1 to whatever, and once the digit sequences reached a length of 5 they actually included the number 5. The fact that the sequence matched once the sequence included 5 was because the LENGTH of the sequence was 5, not because the sequence included the character 5 itself. Later on, you use the curly braces again with "\w{3}", where you explain it and use it correctly. Thanks again.
@edurekaIN6 жыл бұрын
Hey Issac, thank you for pointing this out. We will definitely look into this. Cheers :)
@amiyaramantripathi63204 жыл бұрын
thx for the help buddy
@sanjeevKumar-eg6hp2 жыл бұрын
The most important part of video is at 11:13 to 11:52 where they have explained how regular expression work, This alone makes the understandility of the concept very easy and all the examples were well explained.(Although there was one mistake in video) Thanks edureka for making such an amazing video
@edurekaIN2 жыл бұрын
You're welcome 😊 Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@naf_iya7225 Жыл бұрын
one of the great tutorial ever 👏👏👏👏
@edurekaIN Жыл бұрын
Thank you 😊Glad it was helpful!!
@vasanthm61704 жыл бұрын
Very helpful I spent hardly 2 hour of time and covered this topic completely. Thank you..!
@AdityaSauravadi_saurav2 жыл бұрын
your voice is very convincing. The way you teach is damn good. Thanks for your kind support
@edurekaIN2 жыл бұрын
You're welcome 😊 Glad it was helpful!
@denisseadrianaorozco59886 жыл бұрын
Saludos desde Ecuador! Excelente tutorial :)
@JoshPeterson4 жыл бұрын
This was fantastic. Thank you!
@mayanksharma55402 жыл бұрын
Too much helpful and incredible practical explanation ❤❤
@edurekaIN2 жыл бұрын
Thank you so much : ) We are glad to be a part of your learning journey. Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@phaneshpadki34296 жыл бұрын
nice tutorial.. but it looks like at 31:51 while explaining the regex u explained it wrongly. the numbers in the curly braces don't literally match with the numbers in the string, they only denote the length of the searched pattern. "\d[5}" will search for any 5 digit number. it wont check if the number has 5 in it. That's my understanding.
@phaneshpadki34296 жыл бұрын
for example if u had 1235 instead of 1234 in you string then the expression "\d{5,7}" would not match that string (though it has 5 in it) as the length of 1235 is only 4.
@SSS-hm4pw6 жыл бұрын
Great video. On spot and rich. Well done. Make more.
@edurekaIN6 жыл бұрын
Thank you for appreciating our work. We keep updating our channel regularly. Do subscribe and stay connected to us. Cheers :)
@kdroadie6 жыл бұрын
excellent tutorials nice work.
@edurekaIN6 жыл бұрын
Thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)
@ramchandracheke5 жыл бұрын
Thank you very much ! God bless you 😊
@sushilraverkar0075 жыл бұрын
Very nice explanation. I found exactly that I want. Thank you so much.
@35_akshaykeesari886 жыл бұрын
excellent video.....""""
@kunalsoni76814 жыл бұрын
awesome explanation 😊😊😊
@learnwith68795 жыл бұрын
Very nice explained. It helped me a lot.
@dragangosevski64257 жыл бұрын
Thanks for tutorials.Greetings from Serbia.
@anandhin2352 жыл бұрын
Thank you so much for sharing this awesome video. Grateful to you @edureka!!
@edurekaIN2 жыл бұрын
We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@semicolonacademy95996 жыл бұрын
One of the best instructor in youtube ! Thanks a lot for this tutorial.
@edurekaIN6 жыл бұрын
Hey Semicolon academy, thank you for watching our video. We are glad to know that you found it useful. Do subscribe and stay tuned for more such updates in the near future. Cheers :)
@ashishsahoo63945 жыл бұрын
Regular expressions concepts explained very well, really helped me for the exam preparation, thanks a ton
@edurekaIN5 жыл бұрын
Thank you for appreciating our work, Ashish. We are delighted to see learners like you on board with us. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!
@PrAsHaNtHdUke10933 жыл бұрын
thanks a lot bro...upload more videos..........
@edurekaIN3 жыл бұрын
We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@abhishek-xv5ow3 жыл бұрын
much Helpful , thanks a lot :)
@edurekaIN3 жыл бұрын
Hey:) Thank you so much for your sweet words :) Really means a lot ! Glad to know that our content/courses is making you learn better :) Our team is striving hard to give the best content. Keep learning with us -Team Edureka :) Don't forget to like the video and share it with maximum people:) Do subscribe the channel:)
@rohitpant64732 жыл бұрын
loved the session
@naramcharitha11503 жыл бұрын
Excellent lecture,thaks for the course
@edurekaIN3 жыл бұрын
We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@rbharu11336 жыл бұрын
Its a very nice tutorial, thank you edureka
@swarnachoppella3884 жыл бұрын
Thank you.. Good information
@edurekaIN4 жыл бұрын
You are welcome👍
@amitkumargupta67224 жыл бұрын
one of the great tutorial ever .....
@tarekghosn36482 жыл бұрын
pure awesomeness
@kevalrajpal42446 жыл бұрын
Excellent Service sir really appreciate your work. Thank you so much
@edurekaIN6 жыл бұрын
Hey, glad you loved the video. Do subscribe and hit the bell icon to never miss an update from us in the future. Cheers!
@parthsachan11306 жыл бұрын
GREAT!!!!!!!
@hardikpatel-dc9rc4 жыл бұрын
good sir ,very very good thz a lot
@edurekaIN4 жыл бұрын
You are welcome👍
@auroshisray91404 жыл бұрын
great tutorial
@jadavnaveen10062 жыл бұрын
exceelent
@kkp015 жыл бұрын
Brilliant for starters
@maxwellochieng49246 жыл бұрын
an excellent tutorial. I love edureka
@edurekaIN6 жыл бұрын
Thanks for the compliment Maxwel!
@viz32675 жыл бұрын
Your way of talking is too good....
@yasminshaik49357 жыл бұрын
Thanks for the tutorial. Also wondering if there's any tutorial for error handling in python?
@edurekaIN7 жыл бұрын
Hey Yasmin, thanks for checking out our tutorial. We do not have a tutorial on this particular topic but you can find related tutorials here: kzbin.info/aero/PL9ooVrP1hQOHY-BeYrKHDrHKphsJOyRyu. You can also check out our complete training here: www.edureka.co/python.Do subscribe to our channel to stay posted on upcoming tutorials. Hope this helps. Cheers!
@anandnataraj65997 жыл бұрын
Excellent tutorial
@edurekaIN7 жыл бұрын
Thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)
@RATANAGARWALITINFORMER4 жыл бұрын
nice info
@0xayman5 жыл бұрын
Brilliant explain
@pottalokesh20392 жыл бұрын
At 45:53 why it was taken like this in with two '\' in \(\d{3}\)
@geniusgamer3375 жыл бұрын
39:48
@truthprevails8997 жыл бұрын
Thanks!
@edurekaIN7 жыл бұрын
Thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)
@mousemouse18185 жыл бұрын
nice article
@priyankaagrahari10736 жыл бұрын
good video
@dhanushabhandarkar61947 жыл бұрын
good job
@zeeshanqureshi92525 жыл бұрын
1-Stop Shop Lot of Respect Sir.
@edurekaIN5 жыл бұрын
Hey Zeeshan, thank you for appreciating our work. We are glad that you liked our video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Have a good day! 😊
@saptarshimazumder52526 жыл бұрын
Nice tuitorial , except it should be: "Keep the Red flag flying high Manchester United" XD
@edurekaIN6 жыл бұрын
Haha Saptarshi, maybe we will use this in our upcoming tutorials! Do subscribe and stay tuned for more updates on our channel. Cheers :)
@prathamvardaan41874 жыл бұрын
Nice
@gaganbhawsar33877 жыл бұрын
thanks for tutorials i want to ask what is the use of re.match
@edurekaIN7 жыл бұрын
Hi Gagan, thanks for checking out our tutorial. If zero or more characters at the beginning of string match the regular expression pattern then re.match() will return a corresponding match object. It will return Null, if the string does not match the pattern. Hope this helps. Cheers!
@thehalasoft6 жыл бұрын
It returns the number of matches found.
@pawaryash0076 жыл бұрын
Hi, which shell or editor or idle you have used to run the codes?
@edurekaIN6 жыл бұрын
Hey Pawar, Have used Pycharm community edition 2016.3.2.
@andriiburka4 жыл бұрын
love indian lessons
@ManinderSinghSidhu895 жыл бұрын
the example you used "Sat, mat , pat hat", it is clear why to use r"[smph]at". but what if we have words like "skin, din, pin, spin" all these words are ending with "in" but starting is little complex. And if we want to find only "Skin" and "pin", How to do it here????
@edurekaIN5 жыл бұрын
Hi, this is simple to do. You can have something that goes like [a-z]*in where we can have any number of characters before in. Hope this helps you out.
@harishsivasubramanian1616 жыл бұрын
Can we use Regex to match pattern between strings from two separate list?
@edurekaIN6 жыл бұрын
Hey Harish, Yes, it can be done. Cheers!
@gouravbatra36566 жыл бұрын
difference between re.findall[ABCd][ab] and re.findall[ABCd]ab
@edurekaIN6 жыл бұрын
Hey Gorav, re.findall[ABCd][ab] searches for letter in [ABCd] and followed by 'a' or 'b' while in re.findall[ABCd]ab the pattern is matched only if it ends with ab. Hope this helps!
@Varunsharma-sg2nt5 жыл бұрын
What is the significance of 'r'? re.findall(r'' ", string)
@edurekaIN5 жыл бұрын
Hi Varun, the r string prefix is not specifically related to regex's, but to strings generally in Python. Normal strings use the backslash character as an escape character for special characters. The r prefix tells the interpreter not to do this.
@Varunsharma-sg2nt5 жыл бұрын
@@edurekaIN Yes Got it Raw string right
@scotthjackson56515 жыл бұрын
What's the regex for finding words that end with the letter "s"?
@edurekaIN5 жыл бұрын
Hi Scott, You can use this: regex = r'\b(#\w*[^#\W]|[^#\W]\w*#)\b'.replace('#', letter) Hope this helps. Cheers!
@anuhyaakkineni49396 жыл бұрын
what does span() function do??
@edurekaIN6 жыл бұрын
Hey Anuhya, span() returns both start and end indexes in a single tuple.
@Niranjan-f8w6 жыл бұрын
What is span()
@mayukhbanerjee88775 жыл бұрын
How do we replace a string
@edurekaIN5 жыл бұрын
To do this in Python, use the sub function. sub takes up to 3 arguments: The text to replace with, the text to replace in, and, optionally, the maximum number of substitutions to make.
@SanjitKumar-hw9hd6 жыл бұрын
for your knowledge -> c++ is also a programming language
@mulpurikalikiran34834 жыл бұрын
what is r
@edurekaIN4 жыл бұрын
Indicates that the string needs to be treated as a raw string. Hope that solves your query.
@akshaypatel13625 жыл бұрын
:)
@howtocode20542 жыл бұрын
Very well explained.
@jerrygeorge1803 жыл бұрын
Nice tutorial thanks a lot
@edurekaIN3 жыл бұрын
Thank you so much for the review ,we appreciate your efforts : ) We are glad that you have enjoyed your learning experience with us .Thank You for being a part of our Edureka team : ) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@shubhoo_7781 Жыл бұрын
thanks a lot
@edurekaIN Жыл бұрын
You’re welcome 😊
@mohamedswadiquek61326 жыл бұрын
Excellent tutorial
@OneMinuteFactsz5 жыл бұрын
What does re.compile do? Pls expain
@edurekaIN5 жыл бұрын
We can combine a regular expression pattern into pattern objects, which can be used for pattern matching. It also helps to search a pattern again without rewriting it. Hope this is helpful! Cheers!