[5 Minute Tutorial] Regular Expressions (Regex) in Python

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024

Комментарии • 116

  • @Sri-wg3ne
    @Sri-wg3ne 3 года назад +75

    I don't understand how majority of the comments say that this explanation is better than a 30 minute video, I don't think anyone who didn't know regex concepts earlier would comment that!!

    • @Harmless_creature
      @Harmless_creature 2 года назад +1

      it's a good intro of the topic .

    • @Sri-wg3ne
      @Sri-wg3ne Год назад +12

      @@Harmless_creature Good refresher for people who already know regex basics. Definitely not for new learners.

    • @rongarza9488
      @rongarza9488 7 месяцев назад +3

      I came here because I was overwhelmed with 30-minute explanations. This worked for me. Look, everybody learns their own way. If one source "doesn't talk to you", try another. I subscribed. Maybe later I'll feel more comfortable with 30-minute sources.

    • @ProfShibe
      @ProfShibe 2 месяца назад

      @@rongarza9488 now try a 2 hour college course lmao

  • @oussamakifo9915
    @oussamakifo9915 4 года назад +121

    Your five minutes video is more usefull than other 30 minutes videos 🤘

  • @firSound
    @firSound 4 года назад +15

    This is not only one of the best intros to regex in python I've seen, but it's also a great ad.
    Makes your product look phenomenal without being intrusive.
    Truly you deserve an award for this marketing genius alone.
    Looking forward to giving kite a whirl.

    • @KiteHQ
      @KiteHQ  4 года назад +7

      Thank you for the kind words! We hope you love using Kite.

    • @docmalc47
      @docmalc47 3 года назад +1

      @@KiteHQ I agree with fir Sound... great ad promotion with USEFUL content for anyone while demo'ing your product with a subtle mention. And all done in under 6 1/2 minutes. I'll download and give a try just based on principles.

  • @vignesha6942
    @vignesha6942 3 года назад +4

    Finally I got this in recommendation after 1 year. Thank you.!!

  • @valerioharvey7289
    @valerioharvey7289 5 месяцев назад

    Thank you very much mate, other videos make me wanna cry. This is the only one who guide newbies instead of bully them

  • @racecar7808
    @racecar7808 3 года назад +1

    Dude, U just helped me to comprehend "Regular expressions" in Python that I could not understand for long time. Catch my burning 👍👍👍 and loyal subscription.

  • @storiesbyasim
    @storiesbyasim 2 года назад +4

    0:58 If you're looking for the same thing on Mac, press Command +F and then check the third icon right next to the search bar.
    A minute into the tutorial and the Visual Studio thingy is the coolest thing I learnt today.
    Thank you. Relatively new to the community but love how we keep making each other better.

  • @dilraj8842
    @dilraj8842 2 года назад +7

    Mom, Ryan Eggold just taught me Regex in 5 mins!

  • @Neo--X
    @Neo--X Год назад

    Thank you for providing such a simple and straightforward tutorial. One point that stands out is your suggestion to use the expression finder feature to test search patterns. That is brilliant and will save us a lot of time as we learn to code.

  • @caffeineTX
    @caffeineTX 4 года назад +6

    Thanks for the breakdown, the script example was also really helpful.

  • @SurajKumar-jc1gf
    @SurajKumar-jc1gf 3 года назад

    your 5 min video is very much helpful than others video

  • @nish3003
    @nish3003 2 года назад

    This is the first time I actually considered using the product in the ad

  • @daniel_partida
    @daniel_partida 2 года назад

    kudos for the great short tutorial

  • @gleicemaisumdianaamerica6596
    @gleicemaisumdianaamerica6596 3 года назад +2

    very good explanation, thanks a lot!!!

  • @b16ftw
    @b16ftw 2 года назад

    Thanks for the video! This is getting me started and I can't wait to start tying it in with selenium

  • @KiteHQ
    @KiteHQ  4 года назад

    Like this tutorial? Join the Kite Developer Community on Facebook for access to more resources + support from fellow Python developers. Time to level up! facebook.com/groups/505658083720291

  • @Dani-zy6cf
    @Dani-zy6cf Год назад

    Thank you bro, i wanted to try it out for a translator that i'm doing and i needed to input this! thank you very much

  • @ShubhamTure
    @ShubhamTure 3 года назад +3

    So precise and so on point! Thanks a ton.

  • @schlapbe
    @schlapbe Год назад

    Awesome, thank you for a solid introduction to redex!

  • @mannyinthecloud8940
    @mannyinthecloud8940 3 года назад

    This was clean. Oh so clean.

  • @negusuworku1871
    @negusuworku1871 11 месяцев назад

    Thank you. it is very useful

  • @lioneldynasty
    @lioneldynasty 4 года назад

    just saved me one week of learning

  • @karelseemonster
    @karelseemonster 2 года назад

    Thank you very much! Just solved my problem for me.

  • @adriano6694
    @adriano6694 Год назад

    thanks for your useful example!

  • @Deciipher007
    @Deciipher007 4 года назад

    I get few points what you are talking about... But I know u have great experience as u are typing so fast in keyboard... 🔥keep it going

  • @amirsuhail2081
    @amirsuhail2081 4 года назад

    just one word that's superb

  • @mapa5000
    @mapa5000 4 года назад +1

    Excellent..!! ...thank you for sharing your knowledge friend

  • @olivierbegassat851
    @olivierbegassat851 4 года назад +1

    Very nice video!

  • @salmamuhammed5077
    @salmamuhammed5077 Год назад

    thank you so so much

  • @abeljm298
    @abeljm298 4 года назад +2

    Great tutorial, thanks my friend :)

  • @tomatwal404
    @tomatwal404 4 года назад

    excellent video - learnt more in 5 mins than 1 hour lesson

  • @swtpeteswtpete1515
    @swtpeteswtpete1515 3 года назад +1

    Very useful but needs added closed captioning warning that email match is generic, basic example, leaves out a lot! After the @ symbol you could have a hyphen or more than once included and or you could have digits 0 through 9. Also, isn't there a re search to match beginning of line or beginning of word etc? Just some constructive feedback.

  • @nileshkirane9597
    @nileshkirane9597 4 года назад +1

    Very nice video😊😊.
    Please make more videos on python tricks also on libraries which will help us.

  • @bigsngigs2008
    @bigsngigs2008 3 года назад

    Awesome tutorial Thx🎉

  • @aolfazlzeynali2479
    @aolfazlzeynali2479 Год назад

    very good❣

  • @heminsatya
    @heminsatya 2 года назад

    It was super helpful. Thanks🙏🙏🙏

  • @HexaFrog
    @HexaFrog 2 года назад

    Thanks!

  • @banhipal8635
    @banhipal8635 2 года назад +1

    How are you typing so fast? Touch-Typing?

  • @gabrielsamayoa4981
    @gabrielsamayoa4981 2 года назад

    Thanks a lot, very good video an extension.

  • @syedrizvi2687
    @syedrizvi2687 3 года назад

    Wow amazing! Thank you

  • @Susanajoan3k
    @Susanajoan3k Год назад

    Now i know that i don't know. But it is good to see some useful example

  • @ntang4922
    @ntang4922 3 года назад

    5:03 the group idea is very smart

  • @Mdroudian
    @Mdroudian 2 года назад

    I like the Tabnine and sourcery extensions for vs code.

  • @you.coding
    @you.coding 2 года назад +1

    Is kite dead? Why it is unavailable on the website?

  • @amirsuhail2081
    @amirsuhail2081 4 года назад

    Please more 5 mins videos on regex

  • @mfaraday4044
    @mfaraday4044 4 года назад

    Very helpful for me .
    Thank you

    • @KiteHQ
      @KiteHQ  4 года назад

      glad you like the content [:

    • @avaaaeva
      @avaaaeva 4 года назад

      @@KiteHQ could you please recommend course/books for complete beginner in Python?
      Thank you for very good and understandable content!

  • @TheMultipower47
    @TheMultipower47 4 года назад

    Thank you legend

  • @jayasuryaviswanath2149
    @jayasuryaviswanath2149 2 года назад

    GOOOOOOOOOOOOODDDDDDD!!!!

  • @iamTHIEN013
    @iamTHIEN013 Год назад

    Can you be my teacher? What a pro # respect.

  • @kamali9756
    @kamali9756 3 года назад

    What's the difference between using square brackets and curly brackets in a regular expression?

  • @vanranque2313
    @vanranque2313 4 года назад +3

    I cannot remove the hyphens :(

  • @appleship4369
    @appleship4369 2 года назад

    URGENT PLEASE: how can i do to add a word and a slash like this (/hi) to a found regex? i need this "/hi" before this regex \b\w{5,5}\b . if someone puts a name with 5 characters in it it must find that 5 characters name witch it does but it has also to add /hi infront of it as a result when it finds it

  • @kevinshao9148
    @kevinshao9148 2 года назад

    Hi, 2 questions if I may. 1) Is "\." same as [.] here? 2) why some pattern you add r' ', some you don't? Thank you!

  • @SimonHolmbo
    @SimonHolmbo 3 года назад +16

    Regular expressions in 5 minutes 🤣

  • @mage1over137
    @mage1over137 2 года назад

    Speaking of kite, is it still a thing. Like I know you can install it, but it seems like they're no longer supporting it

  • @punyan775
    @punyan775 2 года назад

    alt +r doesnt let me search using regular expressions

  • @AnthonyHarivel
    @AnthonyHarivel 4 года назад +5

    How Kite can be free ??? This is an awesome tool !! Can get away from it now !

  • @subtleintuitions6524
    @subtleintuitions6524 2 года назад

    Need regular expression for a table with data within

  • @ryankhart
    @ryankhart Год назад

    Warning, don't use this regex for an email address in production. It is incomplete. Email address can include '+'s and '.'s before the '@' and possibly more. If you used this regex, you'd make many Gmail users angry especially with the + sign which is used so that users can add anything they want between the + and @ so that if they end up getting spam coming to them addressed with that unique identifier, they know who to blame for selling their email address.

  • @Captinofthemudslayer
    @Captinofthemudslayer 4 года назад

    Question: I have the following regex and text and i would like to match all doubles. However when I try to match them all it skips the 2nd line. How come? Note i am working in bash via mac terminal.
    what flags should i used besides -o and -i
    ([a-z]+) +\1
    Paris in the the spring.
    The theoretical viewpoint is of little value here.
    I view the theoretical viewpoint as being of little value here.
    I think that that is often overdone.
    This sentence contains contains a doubled word or two two.
    Fear fear is a fearful thing.
    Writing successful programs requires that the the programmer fully understands the
    problem to be solved.

  • @adarshsonare9049
    @adarshsonare9049 3 года назад

    thanks !

  • @ollicron7397
    @ollicron7397 Год назад

    It's weird that you don't have to separate the identifiers with commas.

  • @TheRikkeskat
    @TheRikkeskat 2 года назад

    kite cant be downloaded and that has been that way for a long time now

  • @RATANAGARWALITINFORMER
    @RATANAGARWALITINFORMER 3 года назад

    good info

  • @glassy5716
    @glassy5716 3 года назад

    thanks

  • @pooyaestakhry
    @pooyaestakhry 2 года назад +1

    For email verification, domain names also might include numbers

  • @Franciumflourine
    @Franciumflourine 3 года назад

    dang didn't know ryan gosling was so good at coding

  • @psyoptic
    @psyoptic 4 года назад +1

    whyyyyy why did you make him read text on camera instead of actually walking through running the code himself? Production quality is one thing, but connecting to an audience is totally different.

  • @shashanksingh9118
    @shashanksingh9118 4 года назад

    Hey man , could you make a video simply like you explained what /d and /D meant for every regex

    • @uwugamer55
      @uwugamer55 4 года назад

      I don't know if you've found the answer in the time between you posting this and this reply but, the lowercase is basically a "not" for the argument. /d looks for any digit 0-9 but /D looks for everything except 0-9.

  • @samiciesielska6001
    @samiciesielska6001 3 года назад

    yo can u guys make so that when i run Kyte copilote it doesnt crash my Warzone game. thanks im sure weve all been there

  • @luisorellana7622
    @luisorellana7622 4 года назад +2

    buenisimo

  • @MrBlattgeist
    @MrBlattgeist 3 года назад

    Does something similar to "alt + R" exist in pycharm?

  • @lillydlc1747
    @lillydlc1747 2 года назад

    There are other characters allowed in the first part of the e-mail address. Too bad you ignored those. Other than that, great vid.

  • @lucasl1047
    @lucasl1047 2 года назад

    this dude looks just like Ryan Eggold, Tom from Blacklist lol

  • @MichaelSmith-yh9zn
    @MichaelSmith-yh9zn 3 года назад

    Everyone keep in mind if you are an avid gamer and happen to play call of duty warzone in your free time that the program Kite that is recommended here will cause the game to consistently freeze and crash. Real fun time figuring that one out.

  • @HarshPatel-iy5qe
    @HarshPatel-iy5qe 2 года назад

    i also have this tiger skin frame dude......

  • @katiekirby4690
    @katiekirby4690 10 месяцев назад

    Man sucks Kite is no longer... anyone have a good alternative? Looked like a powerful af extension

  • @nimawex6150
    @nimawex6150 3 года назад

    i liked this because i were a f*ing nerd

  • @blaccy5991
    @blaccy5991 4 года назад

    \d and /D isn't working for me

  • @mikoajsawicki4488
    @mikoajsawicki4488 3 года назад

    The pattern given for email validation is vulnerable. Consider passing there something like this: example@example.comSOME_LETTERS_OR_ANYTHING_ELSE_THERE.
    The simple solution is to add '$' at the end.
    "[a-zA-Z0-9]+@[a-zA-Z]+\.(com|edu|net)$"

  • @datascientist2958
    @datascientist2958 3 года назад

    Sir how can we extract XML from a object column in dataframe and store in in a new feature in dataframe.

  • @spencerlawrence5323
    @spencerlawrence5323 2 года назад

    i hate how useful regex is, it's just so weird to use x.x

  • @nwachiikechukwu
    @nwachiikechukwu Год назад

    No way this helps someone who doesn’t know what regex is beforehand

  • @tonyroaster5749
    @tonyroaster5749 3 года назад

    I use kite and its asom

  • @esmeraldaklahr5484
    @esmeraldaklahr5484 3 года назад

    Hello, I have a question, and I am hoping you have the time to answer fairly quickly.
    I am currently trying to help my boyfriend who is going through school for software engineering.
    Basically, his current teacher changes the outcome if the script isn't correct.
    So the challenge is, substituting a substring withing a list that is within a file using python regex.
    Is anyone at all able to show an example to do this that is most correct?

  • @danielchacreton2401
    @danielchacreton2401 4 года назад

    Just a suggestion, move your camera or turn you computer so that the camera is facing you head on. Looking at the side of your face is a bit distracting. Great video though.

  • @loaf_loaf_loaf148
    @loaf_loaf_loaf148 2 года назад

    why is kurt cobain/jason lee trying to teach me about regex

  • @jpcabral6567
    @jpcabral6567 3 года назад

    ...I know Kung-fu...

  • @_Anna_Nass_
    @_Anna_Nass_ 3 года назад

    I don’t like how you’re not facing the camera while explaining. I know it shouldn’t matter but it’s making me uncomfortable

  • @keifer7813
    @keifer7813 2 года назад

    Nicely structured but way too fast. So many things going on that weren't explained clearly imo

  • @picklepickle1639
    @picklepickle1639 4 года назад +1

    you look like a Chinese Jacksepticeye rippoff lol XD

  • @phines8499
    @phines8499 3 года назад

    he talks like a robot

  • @hadharam
    @hadharam 3 года назад

    They are pronounced ReJEX

  • @josephgaviota
    @josephgaviota 3 года назад

    pronounce REJ - EX !!

  • @timmyhiggins5220
    @timmyhiggins5220 2 года назад

    too complicated

  • @millennialsage3433
    @millennialsage3433 4 года назад

    does this guy remind anyone of paul walker?

  • @matthewbuiles5994
    @matthewbuiles5994 7 месяцев назад

    video is 6 minutes long dislike.