PHP Regular Expressions Form Security & Validation

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 66

  • @successgraph
    @successgraph 3 роки тому +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!

  • @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.

  • @peteboe2114
    @peteboe2114 2 роки тому

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

  • @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 :)

  • @briandacallos4234
    @briandacallos4234 4 роки тому +1

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

  • @cintiakiss4424
    @cintiakiss4424 4 роки тому +1

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

  • @fvcksanitaire4977
    @fvcksanitaire4977 2 роки тому

    best explanation ever seen . so clever mate

  • @aguswidi9316
    @aguswidi9316 4 роки тому +1

    Well explained. Now I know regex. Thank's

  • @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

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

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

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

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

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

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

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

    Tutorial was simple and straight froward. Loved it

  • @mohammedelamin1563
    @mohammedelamin1563 5 років тому +1

    Wow clear demonstration 🙏😍

  • @philipp1mogul54
    @philipp1mogul54 8 місяців тому

    Amazing video

  • @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 :)

  • @forwebdev4075
    @forwebdev4075 2 роки тому

    Beautiful explanation. Thanks

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

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

  • @traceyshock2898
    @traceyshock2898 5 років тому +1

    Awesome presentation.

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

    This really helped me, thanks man

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

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

  • @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?

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

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

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

    Amazing!!! Thank you this was helpful

  • @Tobbeklop
    @Tobbeklop 2 роки тому

    exactly what i needed. thanks a lot.

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

    Thank you! This was very helpful.

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

    EXCELLENT! TY SO MUCH. SUBSCRIBED.

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

    Very helpful

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

    I needed this. Thanks

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

    awesome

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

    This really helped me. ♥️

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

    Great.

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

    Great video, thank you so much!

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

    best video ever

  • @NedumEze
    @NedumEze 5 років тому +1

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

  • @Daniel-sk2tq
    @Daniel-sk2tq 4 роки тому

    you saved me, thank you man

  • @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?

  • @allinonechannel6009
    @allinonechannel6009 5 років тому

    awesome vid yet so underrated😅 not so many viewers

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

    Thanks Shawn again!

  • @carteblanche6325
    @carteblanche6325 2 роки тому

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

  • @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 👍

  • @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}$

  • @khairulislam-je6ke
    @khairulislam-je6ke 2 роки тому

    you deserve thanks

  • @yenegew-tech
    @yenegew-tech 2 роки тому

    10Q u simplified it

  • @MehediHasan-ii6yt
    @MehediHasan-ii6yt 4 роки тому

    Thank you so much

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

    Cool thanks!

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

    thanks

  • @uosif_heikal
    @uosif_heikal 2 роки тому

    thx bro

  • @fvcksanitaire4977
    @fvcksanitaire4977 2 роки тому

    interesting but so difficult to catch up

  • @allthingsbryan
    @allthingsbryan 2 роки тому

    can i use this in laravel?

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

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

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

    Amazing!!! Thank you this was helpful

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

    Thanks