Тёмный

REGEX Tutorial Regular Expressions 

Derek Banas
Подписаться 1,3 млн
Просмотров 376 тыс.
50% 1

Best Regular Expressions Book : goo.gl/RFX7eJ
Here I explain how Regular Expressions are used. I cover all of the codes and what they are used for. The goal is to teach you how to use regular expressions once and for all.

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

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 645   
@cancerish
@cancerish 14 лет назад
Learning regex by my self gave me a temporary hypertension stage 1 .. it "literally" rose my blood pressure and i am not kidding! .. what you are doing here is amazing in my free time as a professional programmer i always watch videos of things i know and i don't know to make sure i learned and i will learn the right way :) .. so thank you sir for this amazing work and please please and another please ... keep posting tutorials you are a natural educator!
@geekintheperimeter
@geekintheperimeter 13 лет назад
I agree with adminq. This guy is GOOD. Clear explanations, does not repeat himself, and do you notice that there are no filler words, ie. "ummms.. ", "ahhh.... " and ".... hmmmm...". Very polished speaker which greatly aids in making the points very clear. So glad I found a resource to explain what exactly these rascally reg expressions actual mean and do. Thanks!
@MrRicka7x
@MrRicka7x 9 лет назад
Best tutorial ever I think I'm starting to get it thanks!!
@derekbanas
@derekbanas 9 лет назад
Ricardo Ramirez Thank you :) I'm glad it helped
@dragonore2009
@dragonore2009 8 лет назад
+Derek Banas Out of curiosity how long did it take you to master regular expressions or at least good enough to have confidence in them?
@rbp365
@rbp365 7 лет назад
Derek Banas: Great job! This goes only for python or regex processing syntax is pretty much the same everywhere?
@robertandrewbain
@robertandrewbain 13 лет назад
I really enjoyed this tutorial. As a J2EE developer, I don't have to use regex often, so always just piece them together when the occasion arises. I've finally decided to nail them though! Thanks for your well explained introduction.
@NWigi
@NWigi 9 лет назад
One of the BEST tutorial channel I've ever found on RU-vid. Thanks alot.
@derekbanas
@derekbanas 9 лет назад
N. Wigi Thank you very much :)
@wrymen
@wrymen 10 лет назад
U explain this "Feature" to me in 5 minutes and I understood, where several pages of book couldn`t explain it to me. So thanks :)
@derekbanas
@derekbanas 10 лет назад
Wrymn Thank you :) I'm glad I could help
@derekbanas
@derekbanas 13 лет назад
@22aaab Your appreciation is very much appreciated :) Thanks for stopping by
@youartoyube
@youartoyube 11 лет назад
people like you should be rewarded and payed shit load of money! You are the teachers of this century!
@geekintheperimeter
@geekintheperimeter 13 лет назад
One more thing. Thank you for this simple but yet powerful example. Your 123 Main St. example put me on the right path to solving a parsing problem that I have not been able to solve for some time. Instead i would take the data into excel and parse it there, now I have created a reg expression that does it in the script! Thanks!
@derekbanas
@derekbanas 14 лет назад
@bikerabhinav Glad it was useful. I'm happy to do a tutorial on anything. Thanks for the nice comment
@therhythmatic
@therhythmatic 12 лет назад
I agree, i watched a few other tutorials as well as read a ton of articles and tried some reg ex softwares but this tutorial is explained very well and I picked it up a lot quicker. I solved a major problem that I was having within minutes. This is a successful tutorial.
@comatoselucy
@comatoselucy 8 лет назад
THANK YOU. Regular expressions were my first big hang up with javascript, and it seemed like no tutorials took it step-by-step. Yours was the first video to really help me.
@derekbanas
@derekbanas 8 лет назад
I'm very happy that I could help :)
@ADKnTVK
@ADKnTVK 11 лет назад
Personally I loved his accent and the way he enunciated key aspects. It helps with keying in on the concept he was teaching. Droning on and on puts your brain to sleep, this method keeps me engaged. Well done sir.
@derekbanas
@derekbanas 13 лет назад
@TheCrookHook You're very welcome. Regex aren't really as complicated as most people think
@ohnoitsaj
@ohnoitsaj 8 лет назад
This was a huge help, and your style of teaching is top notch. Uploaded 5 years ago and still relevant. Thank you.
@derekbanas
@derekbanas 8 лет назад
+ohnoitsaj Thank you for the nice compliment :)
@ohnoitsaj
@ohnoitsaj 8 лет назад
+Derek Banas Do you think you can do a few more like this first video going more in depth with flags and replace functions and pretty much all the other symbols you showed as possibilities? (I saw some code where the replace function had "-$1" which apparently means something with regex?) I'm studying Javascript, so the 2 other vids were not as good for me, but this first one was a lot more general so a huge help. Thanks again!
@Hadrhune0
@Hadrhune0 11 лет назад
Lovely tutorial, I studied regexp in the past but untill these days I never had the chance to use them so hard. Thank you. Seriously! I'm subscribing and going on with the lessons.
@chareesagraham7008
@chareesagraham7008 9 лет назад
Finally! A tutorial that is clear and easy to understand. Thank you, Derek! I'll be using some of this info in my lightning talk for class this week.
@derekbanas
@derekbanas 9 лет назад
Chareesa Graham Thank you :) I'm happy that I could clear up regex
@enstage3821
@enstage3821 8 лет назад
Been using regex every now and then for about two years (am a PHP dev) finally decided I should learn it properly. This is the best tutorial series I've found so far! Good job.
@derekbanas
@derekbanas 8 лет назад
Thank you for the compliment :) I'm glad I could help
@cschmitz
@cschmitz 10 лет назад
Four minutes in and you've already made regular expressions SO MUCH EASIER TO UNDERSTAND for me! Thank you so much! Ok, now I need to finish the video :P
@derekbanas
@derekbanas 10 лет назад
I'm very happy that I could help :) You're very welcome.
@chrissampson6861
@chrissampson6861 6 лет назад
Best tutorial I've seen - covered everything I need to get started with Regex in 12 minutes , should have come here first rather than spending 3 hours wading through confusing badly written sites.
@derekbanas
@derekbanas 6 лет назад
Thank you very much :) I have more information here if you need it ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-R1PcJfzsUU0.html
@chrissampson6861
@chrissampson6861 6 лет назад
Currently going through the python series.
@biglee3256
@biglee3256 4 года назад
As a newbie to regex I appreciate your style and look forward to more!
@kernael711
@kernael711 7 лет назад
Thank you! I've been a sys ad for 5 years and searching how I can make my work easier and read about regex but I'm struggling to get it. I've learned more in this 12 minutes video than my week of reading regex articles
@derekbanas
@derekbanas 7 лет назад
That's great! I also have an updated video here that covers more ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-R1PcJfzsUU0.html
@onyimolos
@onyimolos 6 лет назад
Bless you Derek, you have saved long trouble of understanding regex... Thanks a million.
@derekbanas
@derekbanas 6 лет назад
Thank you :) It is my pleasure to be able to help
@timb.5967
@timb.5967 7 лет назад
Thank you very much for your tutorials. I have found them to be some of the best on RU-vid for helping me understand and use Regular Expressions!
@derekbanas
@derekbanas 7 лет назад
You're very welcome :) I actually have an updated version as well here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-R1PcJfzsUU0.html
@derekbanas
@derekbanas 12 лет назад
@DADA15691 Thank you :) I'm glad you liked it. Thanks for taking the time to show your appreciation
@BlackkAce
@BlackkAce 7 лет назад
I just watched several videos on regex, and I was starting to think I was dumb. Your video was by far the best
@derekbanas
@derekbanas 7 лет назад
Thank you very much :) I made an updated one as well ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-R1PcJfzsUU0.html
@monoloco8851
@monoloco8851 10 лет назад
Thank you so much. I've been trying learn regex for a little while now and this is certainly the best tutorial I've found
@derekbanas
@derekbanas 10 лет назад
Thank you :) I'm glad I could help.
@derekbanas
@derekbanas 13 лет назад
@geekintheperimeter You're very welcome :) I'm glad I was able to help
@derekbanas
@derekbanas 13 лет назад
@supershazwi I'm glad you liked it. I have a ton of other tutorials on regex. I hope they help. Thanks
@digikiwam
@digikiwam 9 лет назад
between you and Bucky (TNB) - the BEST tutorials on the internet. Both are very concise, very informative and explained brilliantly. Keep up the good work DB. I dig how you always start your tut's the same way "Well Hello Internet" LOL
@derekbanas
@derekbanas 9 лет назад
digikiwam Thank you for comparing me to the new Boston. He is the biggest tutorial guy on RU-vid :)
@0x28
@0x28 9 лет назад
Stop using such childish language. Thanks.
@derekbanas
@derekbanas 14 лет назад
@dhonsvick Glad you liked it. Regular expressions are very powerful and easy to use, once you get beyond the basics :)
@jonathanelkins
@jonathanelkins 10 лет назад
Nice job Derek. Finally I'm getting a handle on regular expressions.
@derekbanas
@derekbanas 10 лет назад
Jonathan Elkins Great I'm glad i could help :)
@ruddogster
@ruddogster 9 лет назад
The way you explained how to search for "123 Main St." was one of the most useful examples found during my search of Regex. I have only viewed this one video but if what follows is anything like the viewed video, well I am ready to jump in with both feet.
@derekbanas
@derekbanas 9 лет назад
+ruddogster Thank you for the compliment :) I'm very happy that you found it useful.
@derekbanas
@derekbanas 13 лет назад
@nate1467 You're very welcome :) Thanks for stopping to say Hi
@derekbanas
@derekbanas 12 лет назад
@ConstantlyCode You're very welcome. I don't understand why so many professors struggle with teaching regex. I sometimes wonder if they understand the subject themselves?
@DADA15691
@DADA15691 12 лет назад
This is really Awesome!!...I was so impressed that I actually paused tutorial half way through to write this comment.... Really great work. Thank you so much !!
@derekbanas
@derekbanas 13 лет назад
@CharmingThePrince1 Thanks I'm glad you liked it
@derekbanas
@derekbanas 13 лет назад
@SoddingHostile Glad you like it. I have tons of tutorials on regex. Thanks a bunch :)
@derekbanas
@derekbanas 14 лет назад
@istlota Wow! Thanks for such a nice comment. Glad to help :)
@1022dcsoccer
@1022dcsoccer 10 лет назад
Thank you so much. I've been searching just for \. and just a clear explanation of this. 5 min's of your video helped me a lot. I'll definitely be checking your other tutorials out, as it seems you actually pay attention to the little details that many programmers will look over. Thanks again.
@derekbanas
@derekbanas 10 лет назад
Thank you :) I try to be as detailed as possible. I'm glad the video helped.
@carygordon2582
@carygordon2582 9 лет назад
Bravo! A great deal of information packed into a very short time. You know that scene in 'The Matrix,' where Neo is learning combat training? Tank asks if he wants more, and Neo says, "hell, yeah.' Tank says, 'Hey, Mikey, I think he likes it!' This is like that.
@derekbanas
@derekbanas 12 лет назад
@victornpb You're very welcome. Thank you for the compliment :)
@indeep2k8
@indeep2k8 13 лет назад
Fantastic video / tutorial. Thank you very much. I feel like this time, it might actually stick in my brain. You explained it in a way that was very simple to grasp. Early today I had spent about 2 hours in my books with a highlighter tryng to "Get" regex. Your tutorial was much easier to understand. Thanks again!
@chuguloco
@chuguloco 10 лет назад
Your tutorials are just genius. I actually passed a course thanks to your tutorials!!! Thank you for doing this amazing job
@derekbanas
@derekbanas 10 лет назад
Sebastián Hernández G. Thank you very much :) I'm very happy that I could help
@blackneos940
@blackneos940 10 лет назад
Derek Banas Yeah, helping others is awsome....... :D
@marduv
@marduv 7 лет назад
awesome video. after 4 years of programming i've finally took time to learn this in 10 minutes lol. every time i had to use regular expressions i'd use a templated one on the web.
@derekbanas
@derekbanas 7 лет назад
Thank you :) I'm glad I could clear them up.
@derekbanas
@derekbanas 13 лет назад
@Odznitcholuf Thanks :) I'm glad you liked it
@derekbanas
@derekbanas 11 лет назад
You're very welcome :) I very much appreciate the kind words!
@thisisafullsentence
@thisisafullsentence 13 лет назад
By 3:40 I realized this was 110% clearer than ever explained to me. BIG thank you!
@derekbanas
@derekbanas 13 лет назад
@iSuperGeek Yes you are correct. That's what I'd be searching for if I was looking for the name in a paragraph.
@alexwhb122
@alexwhb122 12 лет назад
thank you so much for this video. so clear. I've never seen a Regular Expressions video that is this clear. keep up the good work man.
@Crux161
@Crux161 11 лет назад
it's like the direct answer to the question I was asking, and the solution I've been seeking! this will really help my final project to shine :D
@manjuravi5119
@manjuravi5119 10 лет назад
Hi Derek.. I thought regex is difficult..but after watching your video.. U made it so simple. I did for validating email textbox.Thank u...
@iPCman13
@iPCman13 11 лет назад
Thank you for making this video. You explaination is clean and straight-forward.
@wiseguy4125
@wiseguy4125 6 лет назад
Again, I spent the last few months trying to figure out but to no avail...why are you so cool?
@GabrielMcGinn
@GabrielMcGinn 10 лет назад
VERY brief and HIGHLY effective in helping me remember this information. Thank you very much great guide!
@derekbanas
@derekbanas 10 лет назад
Gabriel McGinn Thank you very much :)
@derekbanas
@derekbanas 13 лет назад
@XYCroMagnon No problem. Glad to help :)
@djsensacion7
@djsensacion7 8 лет назад
The best video tutorials I've seen on this topic. A big Thank you
@derekbanas
@derekbanas 8 лет назад
+Miguel Sensacion Thank you :) i'm glad it helped
@derekbanas
@derekbanas 13 лет назад
@DixonNxn You're welcome:) I've done tons of regexs videos
@derekbanas
@derekbanas 12 лет назад
Regex are super powerful! I'm glad you liked it :)
@derekbanas
@derekbanas 11 лет назад
I'm glad I was able to help :) I have a bunch of other regular expression tutorials on my RU-vid channel that may help further
@derekbanas
@derekbanas 11 лет назад
You're very welcome :) I love covering the supposedly complex topics
@siya3955
@siya3955 8 лет назад
I always run to Derek Banas if I look for information like this online. You're the best.
@derekbanas
@derekbanas 8 лет назад
Thank you for the very nice compliment :)
@siya3955
@siya3955 8 лет назад
Derek Banas I am sorry I have not subscribed though. I'd learn something new or have my issues cleared out from your videos and excitedly run back to my work.
@obnoxint
@obnoxint 13 лет назад
I always had problems with the understanding of regular expressions but its all crystal clear now. Thank you very much.
@mail2mahendran
@mail2mahendran 10 лет назад
Regular expression was always a confusing topic to me till I watch this video. Thank you very much Derek.
@derekbanas
@derekbanas 10 лет назад
Mahendran A Great I'm glad I could clear them up :)
@derekbanas
@derekbanas 11 лет назад
Thank you :) I have used perl in the past. It is very useful
@edwardphillips2466
@edwardphillips2466 10 лет назад
Great video on regular expressions! Really cleared up some of the things I have been reading. Thanks Derek!
@derekbanas
@derekbanas 10 лет назад
Thank you :) You're very welcome
@derekbanas
@derekbanas 11 лет назад
You're very welcome :) regex are the same for every language
@CRBarchager
@CRBarchager 9 лет назад
Absolutely great tutorial on regular expressions. Love the way you explain things and how fast you do it. You have helped me a lot with your videos.
@derekbanas
@derekbanas 9 лет назад
+SodaDK Thank you :) I'm very happy that I could help
@gent2910
@gent2910 14 лет назад
Dig it man. Can't wait to see the next video. I love the ease at which you showed those Regex(). Learned a great deal in this video and am going to try to use these more and in more complex ways. Thanks again for the videos, I love them. NTT University Student, out.
@TheLastBabyBoomer
@TheLastBabyBoomer 8 лет назад
Wow...this guy really knows how to explain things. My college instructor can take some notes from you. Thanks...I get it now.
@derekbanas
@derekbanas 8 лет назад
+John Powell Thank you for the nice compliment :) I'm glad I could help
@bailey3353
@bailey3353 9 лет назад
Thanks for quality tutorials. After your first couple videos I had the understanding to format ~1200 lines of code in our project with one line of regex. I don't see many others providing information for all skill levels, but you certainly do. Keep up the good work!
@derekbanas
@derekbanas 9 лет назад
+Bailey Chestnut You're very welcome :) I'm very happy that I could help.
@derekbanas
@derekbanas 11 лет назад
Thank you :) Yes regular expressions are great for something like that
@ryanbradley5805
@ryanbradley5805 10 лет назад
Your video is epic. I really needed this explained in the way that you were able to. I am barely clinging on to an A- in my advanced Java class, and my tutor just jumped ship. Thank you!
@derekbanas
@derekbanas 10 лет назад
Ryan Bradley I'm very happy that I could help :)
@ryanbradley5805
@ryanbradley5805 10 лет назад
Do you know where a good Java tutoring resource exists? I am beyond stuck on my hw.
@derekbanas
@derekbanas 10 лет назад
Ryan Bradley I have my Java tutorial here www.newthinktank.com/videos/java-video-tutorial/ I also have Java tutorials that cover everything from algorithms and design patterns through refactoring. I hope it helps :)
@derekbanas
@derekbanas 12 лет назад
@sophisticatedleaf Well thank you :) I'm just filling a niche for those that prefer to learn fast. I'm glad you like them
@Briant2312
@Briant2312 10 лет назад
Great tutorial. I have the feeling your videos will definitely be a great resource. Thanks, and keep 'em coming!
@derekbanas
@derekbanas 10 лет назад
Thank you very much :) i keep trying to improve.
@derekbanas
@derekbanas 13 лет назад
@MrCharrrles I'm glad you liked it :)
@StuartFeichtinger
@StuartFeichtinger 11 лет назад
In case you were not aware, your videos are fantastic.
@derekbanas
@derekbanas 11 лет назад
Thank you very much, but I can assure you that just about everyone making tutorials on RU-vid don't do it for the money. We are all just grateful to be able to help so many nice people :)
@anzatzi
@anzatzi 12 лет назад
nice job, presenting component expressions on individual lines is a good intro device, good choice of core regex functionalites.
@derekbanas
@derekbanas 11 лет назад
You're very welcome :) I'm glad you liked it
@derekbanas
@derekbanas 13 лет назад
@obnoxint You're very welcome :) I'm glad so many people like this tutorial
@nkhullar1
@nkhullar1 10 лет назад
Thanks Derek, C++ recently added regex as native and I was not aware it was so powerful!
@derekbanas
@derekbanas 10 лет назад
Regex are Amazing!
@derekbanas
@derekbanas 11 лет назад
Thank you very much :) I'm very happy that you liked it
@candidatesvoice8826
@candidatesvoice8826 8 лет назад
Thank you! You explanation is excellent especially for one who is still learning. Keep making Videos please!
@derekbanas
@derekbanas 8 лет назад
+CandidatesVoice You're very welcome :)
@rivers31334
@rivers31334 7 лет назад
By far the best tutorial I have seen on this. This video has really helped me with my understanding. Thank you for doing this.
@derekbanas
@derekbanas 7 лет назад
Thank you very much :) I'm glad I could help
@breakingbeatz
@breakingbeatz 9 лет назад
Very clear tutorial! Thank you, sir! Looking forward to your next tutorials.
@derekbanas
@derekbanas 9 лет назад
breakingbeatz Thank you :) Many more videos are coming.
@CharmingThePrince1
@CharmingThePrince1 13 лет назад
simple and straight to the point .. love this.
@maurisrx
@maurisrx 9 лет назад
Great tutorial! Your teachings are easy to follow. Thank you!
@derekbanas
@derekbanas 9 лет назад
maurisrx Thank you very much :)
@derekbanas
@derekbanas 13 лет назад
@RyderDonahue I teach the Perl version of Regular Expressions which are the most commonly used. There also is another version called POSIX. What I'm teaching works almost exactly in every language with a small tweak here and there
@gbo-gr-cy
@gbo-gr-cy 9 лет назад
Derek, you inspire us so much to code more and this is not good :) Seriously, I can't thank you enough for these tutorials!
@derekbanas
@derekbanas 9 лет назад
Slyde Thank you for the very nice message :) I continue to make tutorials because I have met so many nice people here.
@derekbanas
@derekbanas 13 лет назад
@BastiaanGrisel Thanks :) I went a little crazy and created about 10 videos on regexs for a bunch of languages. After watching them you should be able to grab or find pretty much anything.
@othursdayz
@othursdayz 10 лет назад
This was extremely helpful and straight forward. Thanks for making this!
@derekbanas
@derekbanas 10 лет назад
Thank you :) You're very welcome
@vegatron77
@vegatron77 13 лет назад
I was just about to ask you to give us a RegEXP tutorial, and I searched and found this video,, thanx alot..
@joshsyu1229
@joshsyu1229 7 лет назад
Your tutorials are crystal clear, and have helped me a lot in my full stack journey! Cheers and thanks!
@derekbanas
@derekbanas 7 лет назад
Thank you :) I'm glad I could help
@derekbanas
@derekbanas 11 лет назад
Thank you for taking the time to say you liked it :)
@georgevasiliadis4228
@georgevasiliadis4228 7 лет назад
after watching this tut i definitely took a deep breath of relief thanx
@derekbanas
@derekbanas 7 лет назад
I'm glad it helped :)
@NerdonWheels1
@NerdonWheels1 14 лет назад
amazing, this things is not this simple to learn from other sources. You've really done it in a very organized way. Thanks! I'll let you know if I would like to see any specific tutorial and you can make it (maybe) :)
@youtewbing197
@youtewbing197 7 лет назад
MY MAN!!!!!! YOU JUST HELPED ME FINISH MY BIG PROJECT!!!! THANK YOU SO MUCH!
@derekbanas
@derekbanas 14 лет назад
@stormbytes Glad you like it. Much appreciated
@norcaljohnny
@norcaljohnny 7 лет назад
There are things that are easy to learn, those that take a lot of time to learn and then there are those special languages, scripts or codes that just do not make sense.... and no matter the amount of searching and endless hours watching tuts or reading articles, you end up more confused. RegEx being one and the other, for me, is Cross-domain proxy bypass. Thanks to Derek, just from this first part, he connected almost all the dots in such a clear and simple way. I have a feeling you have just saved me many hours of headaches. 2000 thanks! By chance, do you have a tut on cross domain proxy bypass :D Off to part 2, Cheers!
@derekbanas
@derekbanas 7 лет назад
Thank you :) I'm happy the video helped. Sorry I haven't covered the other topic yet. I also have an updated Regex tutorial that goes into more depth here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-R1PcJfzsUU0.html
Далее
REGEX Tutorial Regular Expressions Pt 2
10:55
Просмотров 117 тыс.
Using Regular Expressions - Computerphile
11:39
Просмотров 125 тыс.
Coding Challenge 166: ASCII Text Images
22:42
Просмотров 1,1 млн
Learn Regular Expressions In 20 Minutes
20:52
Просмотров 1,3 млн
Regular Expression Basics
36:59
Просмотров 133 тыс.
Regular Expressions in Python
18:58
Просмотров 78 тыс.