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!
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 =)
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?
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?
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
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.
@@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 👍
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 ?
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}$
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!
trueeeeeeeeeeeeeeeeeeeeeeeeeee af
Wow! Shawn, arguably, this is your best so far. Very well done.
Thanks a million
Saved me hours of headache ..thanks loads..ur a lifesaver
The best explanation i ever watched .Thanks a lot sir.
Thanks so much, you have certainly made the muddy waters of regency much clearer to me.
Why this video has 580 views? Great job, i'm so gratefull, thank you mister !
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 =)
@Xander Charlie Definitely, been watching on InstaFlixxer for months myself :)
I saw this code in w3schools so I searched and got a lot of tutorials but thankfully i found this
Maan, you are the absolute best! Been reading my uni material for hooours and was clueless, saving this video!
best explanation ever seen . so clever mate
Well explained. Now I know regex. Thank's
Thanks man you explained so clear continue creating videos like these
your are awesome man. love your video. it's solved my biggest problem . thanx again
You saved me in on this one. :) thank you so much. please continue creating contents like this.
This is super easy to understand and helpful for my project. Thank you so much.
Thanks a lot that was a great lesson, everything has been covered up beautifully.
Tutorial was simple and straight froward. Loved it
Wow clear demonstration 🙏😍
Amazing video
super good video! way better than my university professor
Thank you for the compliment, but your professor knows all of the things I don't :)
Beautiful explanation. Thanks
Great video , i am very grateful to you, thank you brother
Awesome presentation.
Thanks, Tracey!
This really helped me, thanks man
Thank you so much for this amazing tutorial❣️❣️❣️❣️❣️
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?
Thank you so much !! You are the best 👍👍👍👍👍👍👍👏👏👏👏
Amazing!!! Thank you this was helpful
exactly what i needed. thanks a lot.
Thank you! This was very helpful.
EXCELLENT! TY SO MUCH. SUBSCRIBED.
Very helpful
I needed this. Thanks
awesome
This really helped me. ♥️
Great.
Great video, thank you so much!
best video ever
Sorry Shawn, may I know how you inserted the check mark within the SPAN tags?
✘ ✔
you saved me, thank you man
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?
awesome vid yet so underrated😅 not so many viewers
Thanks Shawn again!
Hello, Thanks for the information.
How can i validate it to accept the format example. CT201/100095/22
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
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.
@@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 👍
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 ?
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}$
you deserve thanks
10Q u simplified it
Thank you so much
Cool thanks!
thanks
thx bro
interesting but so difficult to catch up
can i use this in laravel?
Of course!
How much I would pay for this guy to be me lecturer
Amazing!!! Thank you this was helpful
Thanks