Regular Expression Tutorial Python | Python Regex Tutorial

  Рет қаралды 121,036

codebasics

codebasics

Күн бұрын

Пікірлер: 127
@codebasics
@codebasics 2 жыл бұрын
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
@prateekbansal8302
@prateekbansal8302 2 жыл бұрын
Thank you so much for this video! Honestly I used to be scared of regex. Now, not so much anymore. Sir, you’re a real gem!
@codebasics
@codebasics 2 жыл бұрын
Happy to help Prateek!
@sakalagamingyt3563
@sakalagamingyt3563 3 ай бұрын
Same bro
@saubhiksom
@saubhiksom 2 жыл бұрын
Thank you so much Dhaval for this session. I was literally waiting for someone to teach regex like this. Not only in data science even in Bioinformatics and genomics regex is a very very useful module.
@sakalagamingyt3563
@sakalagamingyt3563 3 ай бұрын
This is the best video on regex on the entire KZbin Seriously! I used to be scared of Regx before but now I no longer have to be afraid of Regex
@user-dj3ty6th6r
@user-dj3ty6th6r 4 ай бұрын
Brilliant video, 2 week of me struggling to understand regex, NOW ITS OVER YEAH! Thankyou so much, pls have a pleasent and great life🎉
@emmamargaret2908
@emmamargaret2908 2 жыл бұрын
I love this! I don't know why I thought regex is so complex 🤦🏽‍♀️ Thank you so much.
@codebasics
@codebasics 2 жыл бұрын
Happy to help Emma!
@shahriarshaikat6876
@shahriarshaikat6876 11 ай бұрын
So much information about regular expression, I have found in this tutorial. The main thing i want to notice that this tutorial will help you that ,how to think before writing an expression👍👍
@NamidigerPicue
@NamidigerPicue 2 жыл бұрын
the smoothest regex explanation i've ever watched. thank you so much
@detacreations1999
@detacreations1999 2 жыл бұрын
Before codebasics video people scare regex but after this video all codebasics subscribers love regex..Thanks sir:)
@akashrajendraprasad3717
@akashrajendraprasad3717 Жыл бұрын
I just wanna say I have no words, never saw such kind of explanantion! Thank you so much sir
@vinayraghunath1992
@vinayraghunath1992 2 жыл бұрын
Thankyou sir... This session was really good... I always had a feeling that regex is something that I will never get a grip on... Thanks for your tips
@codebasics
@codebasics 2 жыл бұрын
Vinay I am glad you found it useful
@sumit121285
@sumit121285 2 жыл бұрын
Same felling had with me Vinay , but after watching this video it's all brushed up....
@Shubham-Singh-Rajput25
@Shubham-Singh-Rajput25 2 жыл бұрын
This is gona be so fruitful 👍 looking forward for regex playlist
@codebasics
@codebasics 2 жыл бұрын
Enjoy!
@kapamagicman
@kapamagicman 2 жыл бұрын
Finally a clear explanation of this topic. Thanks!!’
@talhanisarmughal
@talhanisarmughal 2 жыл бұрын
I was facing problems with regular expressions before watching this video, But now I have solved my assignment on my own after watching this single video, Thanks a lot sir for such amazing educational videos. Love from Pakistan
@aakashpatel6191
@aakashpatel6191 2 жыл бұрын
Maja aavi gai...boss.. Aabhar🙏
@sumit121285
@sumit121285 2 жыл бұрын
You are simply amazing sir... Just one thought is coming in my mind , " Agar aap nahi hote to hamara kya hota ? " Thankyou , thankyou so much sir .... I had really taken lots of efforts to understand regular expression module , but never found such a nice explanation..... Thanks again & again .....
@codebasics
@codebasics 2 жыл бұрын
ha ha ... Thanks for your kind words Sumit
@srd8302
@srd8302 2 жыл бұрын
This is the best regex tutorial I have seen so far. Thank you Dhaval.
@ilhemwalker9145
@ilhemwalker9145 6 ай бұрын
i've never liked regular expressions in my life now i do !
@mklim4509
@mklim4509 Жыл бұрын
Thank you sir for creating this video!!! you really save me for getting lost in this subject
@vipulsemwal478
@vipulsemwal478 2 жыл бұрын
Thank you so much for this. I was getting confuse in a code, but youade it clear. :)
@mukeshkumaryadav350
@mukeshkumaryadav350 2 жыл бұрын
Thanks a lot , landed after watching code with Harry playlist to solve his exercise got stuck . He is also a great teacher.
@shreyapaurav5930
@shreyapaurav5930 2 жыл бұрын
Such simplified way to explain regex.. This really helped
@soorya_ks
@soorya_ks Жыл бұрын
Best video on Regex!! Thank you so much!!
@solomonodelola-jg7lg
@solomonodelola-jg7lg 2 ай бұрын
Thank you sir, "the last statements were funny"🤣, you are very good
@freedmoresidume
@freedmoresidume 2 жыл бұрын
One of my best tutors on KZbin
@codebasics
@codebasics 2 жыл бұрын
:) thanks for your kind words Freedmore
@ambaradhikari7425
@ambaradhikari7425 2 жыл бұрын
@@codebasics please give the solution of last exercise
@shafiqshams3065
@shafiqshams3065 2 жыл бұрын
Sir this is more than perfect, Your teaching is outclass 👍
@codebasics
@codebasics 2 жыл бұрын
thanks for your kind words Shafiq 👍🙏
@zulucharlie5244
@zulucharlie5244 Жыл бұрын
You are a very very good teacher, and your videos on this and other subjects are an enormously positive contribution to the world. Thank you.
@Lnd2345
@Lnd2345 2 жыл бұрын
Extremely useful and clear exposition. Thanks
@dorherbesman1751
@dorherbesman1751 2 жыл бұрын
best regex tutorial i found, thank you for your work!
@Matrix_Mayhem
@Matrix_Mayhem 3 ай бұрын
Thankyou Dhaval Sir! Really helpful!
@chitrabhardwaj7292
@chitrabhardwaj7292 2 жыл бұрын
What a beautiful explanation, loved it. regex were always scary but seems like i can try my hands on it.
@frankservant5754
@frankservant5754 2 жыл бұрын
Your tutorials are the best always well explained and with real life examples
@MegaJohnwesly
@MegaJohnwesly Жыл бұрын
Thanks alot..I was confused earlier..Gonna try this..I loved your teaching :)
@Susanajoan3k
@Susanajoan3k Жыл бұрын
I completed the exercises, thanks man!🙏
@AIdevel
@AIdevel Жыл бұрын
I did understand your explanation it’s very complex
@poppinschibuike1737
@poppinschibuike1737 2 жыл бұрын
Broke it down beautifully
@sagarmehla2102
@sagarmehla2102 2 жыл бұрын
wonderful way to learn regex. Awesome try.
@nastaran1010
@nastaran1010 9 ай бұрын
thank you so much, your teaching is the best. good luck
@iReaperYo
@iReaperYo 2 жыл бұрын
thank u sir really important lesson. will allow me to brush up on this skill!
@user-in5dr7xb1u
@user-in5dr7xb1u 2 ай бұрын
very useful , thank you 😍
@Yogesh010Mishra
@Yogesh010Mishra Жыл бұрын
Beautifully explained!
@sumitpandey6174
@sumitpandey6174 2 жыл бұрын
Best RE explanation ever
@raghuvamsiyaram7248
@raghuvamsiyaram7248 Жыл бұрын
Excellent tutorial Dhaval.
@kunalrawat4448
@kunalrawat4448 2 жыл бұрын
How to practice ml?. I'm unable to make project (so many mistakes in making projects) I'm demotivating so guide me 🙏 plz
@redroom07
@redroom07 2 жыл бұрын
impressive ❤️❤️❤️❤️.. thank you very much sir , that i was looking for ...
@nikhildesai2460
@nikhildesai2460 2 жыл бұрын
Thanks for sharing this.. So much helpful to All..
@UpendraKumar-zc8lm
@UpendraKumar-zc8lm 2 жыл бұрын
Thank you very much sir, for such a awesome video. Your way of teaching make everything easy. :)
@suleymanerim2119
@suleymanerim2119 2 жыл бұрын
Thanks Dhaval, it helps a lot.
@moganas3232
@moganas3232 2 жыл бұрын
Waiting g for data engineering playlist ji🤩
@deepasri9698
@deepasri9698 2 жыл бұрын
Thanks for making this video. very useful and more informative.
@codebasics
@codebasics 2 жыл бұрын
Glad you liked it
@niranjanbalajisingh6726
@niranjanbalajisingh6726 2 жыл бұрын
Tons of thanks to you bro this video helped me alotttttt
@naveenmallampati3294
@naveenmallampati3294 2 жыл бұрын
Fucckkk.. Yess mann.. This is what I am looking for a long time.. Thanx mannn
@MrChber
@MrChber 2 жыл бұрын
Awesome waiting for this 😊
@soumyaranjan7474
@soumyaranjan7474 2 жыл бұрын
Such a wonderful explanation .😊
@muhammedthayyib9202
@muhammedthayyib9202 2 жыл бұрын
Reallly nice presentation
@deepali2157
@deepali2157 Жыл бұрын
Woww Tutorial... Thank You!!
@user-xy2ly4uz6p
@user-xy2ly4uz6p 2 жыл бұрын
What if you wanted to extract the text and not the title? What would you recommend? Somebody please help! Thank you!
@CEExpansions
@CEExpansions 2 жыл бұрын
Thanks for this tutorial. Awesome and simplified. You arreted my regexphobia lolz.... Please can the same regex syntax be used for google forms regex and other rexex scripts?
@codebasics
@codebasics 2 жыл бұрын
yes.
@sridharpalla5612
@sridharpalla5612 2 жыл бұрын
You are a god to me.
@bhaveshvaishnav633
@bhaveshvaishnav633 Жыл бұрын
Awesome Video
@Dope619
@Dope619 2 жыл бұрын
Surely waiting for this one
@Loicmartins
@Loicmartins 10 ай бұрын
Thank you so much!
@marcelocipriano5985
@marcelocipriano5985 2 жыл бұрын
Great explanation! Thkx!
@abhi9029
@abhi9029 2 жыл бұрын
Superb Tutorial.
@MadhurimaPaul-kl2yd
@MadhurimaPaul-kl2yd Жыл бұрын
Thank You sir for this tutorial
@carltondaniel8966
@carltondaniel8966 2 жыл бұрын
Thank you so much what a beautiful way to teach , keep the good work coming
@codebasics
@codebasics 2 жыл бұрын
Thank you, I will
@Lifeexperience-rh6og
@Lifeexperience-rh6og 3 ай бұрын
But sir if we use voyant tool
@Easy_way_of_codeing
@Easy_way_of_codeing Жыл бұрын
Amazing video
@devloper_hs
@devloper_hs 2 жыл бұрын
Thanks a lot; great explainer straightforwardly; you are meant to simplify complex topics, always refer to your vids. However, can u explain the most common re-expression one needs to use in the industry? I mean re any topics to cover?
@PicklePops
@PicklePops 2 жыл бұрын
GREAT JOB!!
@krishnadhakal5246
@krishnadhakal5246 2 жыл бұрын
Thank you so much for this.
@ArunKumar-yb2jn
@ArunKumar-yb2jn 2 жыл бұрын
Can't wait boss!
@mohsenqureshi6318
@mohsenqureshi6318 2 жыл бұрын
Great video! Thanks
@trayambrathore7735
@trayambrathore7735 Жыл бұрын
Very helpfull
@avi8016
@avi8016 2 жыл бұрын
Great video sir 🙏
@younessaznag470
@younessaznag470 2 жыл бұрын
thank you so match man
@syedmuhammadrafay228
@syedmuhammadrafay228 8 ай бұрын
Thanks so much
@shadiyapp5552
@shadiyapp5552 Жыл бұрын
Thank you♥️
@technicalways2368
@technicalways2368 Жыл бұрын
Hi actually I have regex Your Orcle instance not running I need to select only Orcle but if the instance is not is there then select oracle so how to do
@prabhakar664
@prabhakar664 2 жыл бұрын
Loved It.
@studentportal3524
@studentportal3524 Жыл бұрын
Hi sir! I need ur kind guidance for my project. Will u kindly help me....
@waisyousofi9139
@waisyousofi9139 2 жыл бұрын
can you write a code to get content which is between two ,word1 and word2 for eg: anything ...word1 ....content....word2..angthing.
@sharmeenkhanam2924
@sharmeenkhanam2924 Жыл бұрын
That title pattern didn't worked for me. Please help only 'Note•\d•' has matching pattern
@dilkashgazala831
@dilkashgazala831 Жыл бұрын
Hello Sir thank you so much for this video. But I am really struggling how to find a exact match for example I have a pattern like "Note 8". How should I write a regular expression for it. Please please help me
@krishshah3974
@krishshah3974 2 жыл бұрын
amazing :D
@utkarshx27
@utkarshx27 2 жыл бұрын
you are amazing
@Cyber_realm
@Cyber_realm 9 ай бұрын
thanks a lot
@sakshikelshikar3729
@sakshikelshikar3729 2 жыл бұрын
God bless you
@b1ackwollf
@b1ackwollf 2 жыл бұрын
lol i like the panda plushie 🐼🐼
@RdmYoutubePeas
@RdmYoutubePeas 2 жыл бұрын
can someone explain to me though, in minute 11:00, he used ^ which is newline, i dont quite get the reason why he use newline so can someone explain it to me? Also why not opted for [\w* or [.*]? Otherwise, this is a great regex tutorial!
@Carnivorous-Vegan
@Carnivorous-Vegan 2 жыл бұрын
At the time, he was just giving examples of using negated character-sets/classes. So he used [^ ]* as a way of preventing your match from spanning more than 1-line. So yes, .* would have sufficed, but note that [.*] only matches 'periods' or 'asterisks'. I agree, fantastic tutorial!
@bunnyvlogs7647
@bunnyvlogs7647 2 жыл бұрын
Love u bro
@Theflyinggeek
@Theflyinggeek 6 ай бұрын
Something could have been explained in starting what is \d etc for beginners for those who don’t know anything about regex
@kirubababu9255
@kirubababu9255 2 жыл бұрын
My delimeter is '' in CSV file, how do I apply regex when reading csv?
@saubhiksom
@saubhiksom 2 жыл бұрын
"NM_001111031.2 Homo sapiens activin A receptor type 1C (ACVR1C), transcript variant 2, mRNA" Hi! In this string I want to match everything from Homo till the comma. I have written the following code in regex: Homo sapiens ([^, transcript variant]*) However, it's only matching Homo sapiens but not the other things? The problem is regex is not taking ", transcript variant" as a whole string. Can anyone help me please?
@rohandevaki4349
@rohandevaki4349 Жыл бұрын
pattern='Note \d - ([^ ]+)' re.findall(pattern,text) this expression is not working now, idk why, and what to fix in this?? can anyone help?
@mangaldasgaonkar568
@mangaldasgaonkar568 2 ай бұрын
'-' This is the dash. When I also used it, I got an error, and then I found out that this is the dash - that we are using but we have to use en dash which is similar like dash and in windows laptop shortcut is to press 'alt+ 0150' then press enter and you should have numerical keypad for this
@NickMaverick4
@NickMaverick4 Жыл бұрын
Do search on any PDF work on regular expression
@saurabhbarasiya4721
@saurabhbarasiya4721 2 жыл бұрын
Waiting
@jojothomas6656
@jojothomas6656 2 жыл бұрын
Bro if degree need to get a job for ai or ml engineer
@devloper_hs
@devloper_hs 2 жыл бұрын
sadly yes, but sometime knowledge and experience wins
@ambaradhikari7425
@ambaradhikari7425 2 жыл бұрын
Anyone did the last exercise?
@jayaraavi
@jayaraavi Жыл бұрын
How can we find 101 from 1101011?
@pp.4800
@pp.4800 3 ай бұрын
//d
@akashm1027
@akashm1027 2 жыл бұрын
bro ending, lol
Regular Expression Metacharacters in Python
20:03
Alex The Analyst
Рет қаралды 8 М.
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 100 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 11 МЛН
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 306 М.
Python for Data Science - NPTEL live interactive session - Week 1
2:23:54
Teach through NPTEL - Problem Solving Sessions
Рет қаралды 3 М.
Learn Regular Expressions In 20 Minutes
20:52
Web Dev Simplified
Рет қаралды 1,3 МЛН
Simple Code, High Performance
2:50:14
Molly Rocket
Рет қаралды 250 М.
The Truth About Learning Python in 2024
9:38
Internet Made Coder
Рет қаралды 193 М.
Natural Language Processing with spaCy & Python - Course for Beginners
3:02:33
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 100 МЛН