18 - how do I search for a pattern in text? regex mini project (Python tutorial for beginners 2019)

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

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

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

    I like how you make mistakes. I mean, we are learning but so are you. There is no fun to learn from those who know too much and are way too perfect. I don't know how others see this as, but I take it as a good way of teaching.

  • @aayushmitra121
    @aayushmitra121 5 лет назад +2

    Amazing as always

    • @CleverProgrammer
      @CleverProgrammer  5 лет назад

      Why thank you 🤓 It’s nice not getting shoved in a locker
      - Aaron

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

    very informative vdo bro keep rocking

  • @nextgodlevel
    @nextgodlevel 5 лет назад +2

    Amazing I need more projects😅😅

  • @AyushSingh-ux5oi
    @AyushSingh-ux5oi 5 лет назад

    we can also use 'r' just before double quotes in order to avoid typing '\' before each of special characters.....
    pattern =re.compile(r"[a-zA-Z0-9.-_]+@[a-zA-Z0-9.-_]+.[a-zA-Z]+")

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

    I am having a trouble I typed the exact thing. It says match object and then the address. It actually doesn't show the word. Please help me.

  • @dloolew9708
    @dloolew9708 5 лет назад

    Aaron Bernath the goat

  • @drac8854
    @drac8854 5 лет назад

    Cant u just find string s="@gmail.com "
    Once u find it the string between last space or " " is the username just take that and add @gmail.com
    Well here is a email address in a sentence

    • @drac8854
      @drac8854 5 лет назад

      And if u want to know how to find @gmail.com then
      Pickup 1st 10 char check if its equal to @gmail.com
      If not then pick next 10
      When u find it start going in reverse order untill u find space and that ur email

    • @drac8854
      @drac8854 5 лет назад

      Well i guess urs is cooler then mine u did all that in just 5 line

    • @CleverProgrammer
      @CleverProgrammer  5 лет назад +2

      We also want to be able to find other websites in the email addresses, like support@cleverprogrammer.com
      regex allows us to find any email website, not just gmails!
      - Aaron

  • @tanmay4217
    @tanmay4217 5 лет назад +1

    69th viewer..... UGH

    • @CleverProgrammer
      @CleverProgrammer  5 лет назад

      🤦🏻‍♂️.
      - Aaron

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

      No Many people understand this. Those who do, are already studying computer science so they find this pretty easy.