PHP Regular Expressions Form Security & Validation

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

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

  • @successgraph
    @successgraph 2 года назад +2

    THE BEST explanation of regular expressions ever. I always got bored 5 minutes into a tutorial about RegEx but you made it so easy to understand. Thank you SO much, Shawn!

  • @many949
    @many949 5 лет назад +12

    Why this video has 580 views? Great job, i'm so gratefull, thank you mister !

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

      Dont know if you guys gives a damn but if you're stoned like me during the covid times you can watch pretty much all of the latest movies and series on instaflixxer. Been watching with my gf these days =)

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

      @Xander Charlie Definitely, been watching on InstaFlixxer for months myself :)

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

    Thanks so much, you have certainly made the muddy waters of regency much clearer to me.

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

    Wow! Shawn, arguably, this is your best so far. Very well done.
    Thanks a million

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

    Saved me hours of headache ..thanks loads..ur a lifesaver

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

    The best explanation i ever watched .Thanks a lot sir.

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

    Maan, you are the absolute best! Been reading my uni material for hooours and was clueless, saving this video!

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

    I saw this code in w3schools so I searched and got a lot of tutorials but thankfully i found this

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

    Thanks man you explained so clear continue creating videos like these

  • @md.sohanurrohmansihab2928
    @md.sohanurrohmansihab2928 2 года назад

    your are awesome man. love your video. it's solved my biggest problem . thanx again

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

    best explanation ever seen . so clever mate

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

    Well explained. Now I know regex. Thank's

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

    Thanks a lot that was a great lesson, everything has been covered up beautifully.

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

    This is super easy to understand and helpful for my project. Thank you so much.

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

    Tutorial was simple and straight froward. Loved it

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

    Beautiful explanation. Thanks

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

    You saved me in on this one. :) thank you so much. please continue creating contents like this.

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

    Wow clear demonstration 🙏😍

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

    Thank you so much for this amazing tutorial❣️❣️❣️❣️❣️

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

    Great video , i am very grateful to you, thank you brother

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

    This really helped me, thanks man

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

    super good video! way better than my university professor

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

      Thank you for the compliment, but your professor knows all of the things I don't :)

  • @philipp1mogul54
    @philipp1mogul54 6 месяцев назад

    Amazing video

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

    exactly what i needed. thanks a lot.

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

    Thank you so much !! You are the best 👍👍👍👍👍👍👍👏👏👏👏

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

    Thank you! This was very helpful.

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

    Great video, thank you so much!

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

    2:19 That‘s my big confusion. Somebody taught me that the CARETS (^^^^^) are used as DELIMITERS for regular expressions when used in PHP. Can you clarify this, please?

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

    Amazing!!! Thank you this was helpful

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

    I needed this. Thanks

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

    Awesome presentation.

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

    Sorry Shawn, may I know how you inserted the check mark within the SPAN tags?

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

    EXCELLENT! TY SO MUCH. SUBSCRIBED.

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

    awesome

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

    This really helped me. ♥️

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

    Very helpful

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

    What about the Flags at the end when using php? g u i. What if I want to accept only letters but from many alphabets other than latin (chinese, japanese, korean, etc.)? I didn‘t see a video about “\p{L}” in PHP. I am trying to implement but looks that doesn‘t work. Are you releasing a video about that, please?

  • @Daniel-sk2tq
    @Daniel-sk2tq 3 года назад

    you saved me, thank you man

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

    Great.

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

    Great video 👍
    is it possible to apply a regex validation as you type ?
    so instead of trying to validate after input - control the input to only allow certain characters from the Regex ?
    Cheers

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

      Absolutely; just not with PHP. You can use javascript or HTML5. The only problem with those is that they are client-sided and can easily be disabled. It's best to perform regex on both the client and the server side.

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

      @@phpBasics ahh ok thanks
      Just testing the water with PHP haven't done much with PHP, I mainly work with .NET/ASP etc. and so used to the ajax regex validation.
      Thanks for reply and thanks again for video I was able to at least get it working on form submit to validated 👍

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

    Thanks Shawn again!

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

    best video ever

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

    awesome vid yet so underrated😅 not so many viewers

  • @khairulislam-je6ke
    @khairulislam-je6ke 2 года назад

    you deserve thanks

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

    Hello, Thanks for the information.
    How can i validate it to accept the format example. CT201/100095/22

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

    Thanks

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

    Cool thanks!

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

    from one of your other tutorials you mention using regular expressions for passwords. If you wanted the user to use a mix of numbers, special characters and lower and upper case. This is possible ?

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

      Hey David - Use this regular expression for:
      At least one digit [0-9]
      At least one lowercase character [a-z]
      At least one uppercase character [A-Z]
      At least one special character [*.!@#$%^&(){}[]:;,.?/~_+-=|\]
      At least 8 characters in length, but no more than 32.
      ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[*.!@$%^&(){}[]:;,.?/~_+-=|\]).{8,32}$

  • @MehediHasan-ii6yt
    @MehediHasan-ii6yt 4 года назад

    Thank you so much

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

    thx bro

  • @yenegew-tech
    @yenegew-tech 2 года назад

    10Q u simplified it

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

    interesting but so difficult to catch up

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

    How much I would pay for this guy to be me lecturer

  • @karaoke-session
    @karaoke-session 2 года назад

    can i use this in laravel?

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

    Amazing!!! Thank you this was helpful

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

    thanks