Regular Expression (RegEx)- Find Phone Number Exercise

Поділитися
Вставка
  • Опубліковано 16 лис 2024

КОМЕНТАРІ • 33

  • @dheerajmoolchandani2983
    @dheerajmoolchandani2983 3 роки тому +1

    The way you explain is superb.... Thanks a lot...!!!

  • @saahilshaikh7445
    @saahilshaikh7445 4 роки тому

    The way you explain. I get back into my school days you are such a good teacher 👍

  • @imranshaikh989
    @imranshaikh989 2 роки тому +1

    Thanks for providing the amazing and useful content on youtube.

  • @rpalearner9818
    @rpalearner9818 4 роки тому

    Great Work, never find this kind of explanation video anywhere else.
    Thanks for the video.
    If Possible could you do with some real-time scenario in simple projects of complete Regex.

  • @23Ashishonelove
    @23Ashishonelove 4 роки тому

    Superb explanation. Thank you for this tutorial :)

  • @rajurec2721
    @rajurec2721 Рік тому

    Nice explaination

  • @dbalmo
    @dbalmo 2 роки тому +1

    Great content as always! Thanks Rakesh.
    Do you have any courses on UDEMY?

  • @hecatum
    @hecatum 3 роки тому +1

    Thank you very much!

  • @timgentemann6324
    @timgentemann6324 3 роки тому

    Tilll now, I don't really understand the reason for complicate regex codes as you could go with easy string manipulation for the input.
    For example with replacing and trimming.
    Would also make sense from a "quality at source" perspective.

  • @nanthakumarsekar7374
    @nanthakumarsekar7374 3 роки тому

    Hiw to check multiple country phone number not only india.
    Any regex is there

  • @KunalKumar-tt4bt
    @KunalKumar-tt4bt 2 роки тому +1

    Sirplease upload some videos of testing rpa uipath

  • @alexmeredith9491
    @alexmeredith9491 3 роки тому

    I noticed it says javascript, does this work for python as well? I feel like it does, just want to be sure :)

  • @HarshitKumar-vc4jj
    @HarshitKumar-vc4jj Рік тому

    Is it possible to check length using regx
    because your code is not detecting the length,

    • @AutomatewithRakesh
      @AutomatewithRakesh  Рік тому

      try this:
      phone_number = "123-456-7890"
      pattern = r'^\d{3}-\d{3}-\d{4}$'
      if re.match(pattern, phone_number):
      print("Phone number is valid.")
      else:
      print("Phone number is not valid.")
      In this example, the output will be "Phone number is valid" because the provided phone number matches the specified format.

  • @mscoder9902
    @mscoder9902 4 роки тому

    Thank you

  • @dhirendraswain4554
    @dhirendraswain4554 10 днів тому

    Thanks

  • @nitaprasad3855
    @nitaprasad3855 4 роки тому

    Can you please make a tutorial video on how to create custom namespace ?

  • @shashank7533
    @shashank7533 7 місяців тому

    how to do without /d

  • @maryfernando5384
    @maryfernando5384 3 роки тому

    why is "?" sign for

    • @ravuri999
      @ravuri999 3 роки тому

      " ? " is for Optional