Тёмный

60: Search Patterns Using Regular Expressions | PHP Tutorial | Learn PHP Programming 

Dani Krossing
Подписаться 484 тыс.
Просмотров 47 тыс.
50% 1

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@michaeljrgensen7071
@michaeljrgensen7071 6 лет назад
Jeg elskeeeeeeer dine videoer man.... Det er nok nogle af de bedste på youtube... Dine OOP PHP videoer har hjulpet mig sindssygt, sammen med dine JS, jqeuery og Ajax! Tak for det! Og bliv endelig ved!! ❤️❤️
@FlyMoe69
@FlyMoe69 4 года назад
Looks like I found an error in your video. At 9:00 it looks like you want it to end at the "m" in my, but it actually ends at the "m" in name. Why is that? And how would you get it to end at the "m" in my?
@Rgroose
@Rgroose 6 лет назад
Thanks a lot for making these 60 videos. I learned so much :)
@stepanfau6480
@stepanfau6480 6 лет назад
Hi mmtuts! :-) How are you doing? I have a question for you. I am currently going through your PHP tutorials, which I love, but there is one thing, that started to worry me a bit. Lately, I've been reading about "PHP dying" and PHP being an outdated language and that some big companies (instagram for example) have been switching to other languages etc. What do you think about this? Is that just a "fake news" or should we be concerned? What about the future of PHP vs other languages? (It would be really cool, if you did a video about this) Thank you very much in advance for your response. Steve.
@IsCubingASport
@IsCubingASport 6 лет назад
You shouldn't worry. More than 80% of all websites are built in PHP...
@sianghwa5978
@sianghwa5978 6 лет назад
I guess u shouldn't worry that much about it, learning programming is mostly about learning the concept, i would say most (not all) of the concept u learn in php is going to be roughly the same for other language. For example, regular expression in php to pythons' does not differ much (except the delimiter enclosure in php's reg exp), and picking up other language would be easier if u are already familiar with one. Sorry for my poor English...
@masscantbecreatedordestroy8868
@masscantbecreatedordestroy8868 4 года назад
I feel the same way as a strong beginner - weak intermediate of PHP! However, as Siang says, we can always transfer our PHP skills to other languages, 2 years later - are you still coding with PHP?
@malcomhouston5195
@malcomhouston5195 6 лет назад
Finally reached 60th tutorial. Great series, really great! You should have milliions of views. Just keep steady, you'll get to it soon. btw so many D's in this video :p
@mahmudulhasan7858
@mahmudulhasan7858 6 лет назад
really really amazing tuitorial in my life i have seen,thanks for providing
@finsgroupservicesLLC
@finsgroupservicesLLC 2 месяца назад
Very good job. Thank you
@prince5922
@prince5922 4 года назад
16:48 "not digits", it does accept digits mmtuts. \S simply means "non-white space" which includes digits as well because they are non-white space.
@gowthams8340
@gowthams8340 6 лет назад
How to validate mobile number, website and also emai using preg_match ??? My suggestion add echo "" tag before print_r get array results get more clearly...
@6equj589
@6equj589 6 лет назад
Love your vids man, best php tutorial on youtube, helped me allot to have better understanding of some things, you truly deserve much much much more subscribers, keep up the good work, peace :D
@normatovotkir6384
@normatovotkir6384 3 года назад
Thanks a lot for very good videos !
@bogdanvintila5766
@bogdanvintila5766 5 лет назад
Great video Daniel. But I have a question. Let's say I have a search bar on my page and I want to search in my string whatever the user puts into that search bar. If the user writes "Daniel" and I use a simple preg_match function like you did in the beginning of the video, then I have a hit. But what if my user writes "daniel" or "DAniEl" or any other form of writing the name? No matter the way the user writes it, I would like my preg_match to return true, because he is basically searching for Daniel but is more sloppy when writing. Also, I get my user input by using $_POST["userInput"]. Is it possible to put this into the regex? At the moment I'm solving my problem by searching directly with SQL code (I'm using the "LIKE" command), and it works perfectly. But I'm curious to see if there is also a regex way. Many thanks for your excellent videos! Your content is gold!
@trevsam7044
@trevsam7044 3 года назад
In order to solve that issue there is a modifier "i" which performs the case-insensitive search for example "/DAniEl/i". The preg_match will automatically return true.
@user-jm6st7ox6h
@user-jm6st7ox6h 6 лет назад
Awesome Tutorial. Question: what are your thoughts on PHP frameworks? Will you ever do a tutorial on one in the future? The reason I ask is that in passing I heard someone say that you will be REQUIRED/EXPECTED to use frameworks when working for a company and even when freelancing. Please share your thoughts and again thank you for this vid.
@Dani_Krossing
@Dani_Krossing 6 лет назад
Hi :) I think it is important to learn the basics of any programming language before jumping into frameworks. But as you mention once you start working for a company, most of them will expect you to use frameworks. The reason being that it makes the development process easier in bigger teams. Frameworks are always a good idea to use, but if you are developing for freelance projects, then it really depends on the task at hand, if a framework is required.
@simeonhristov7271
@simeonhristov7271 6 лет назад
Heyy, really nice tutorial. Keep up with the good stuff, but i wonder if you could make a pagination tutorial.
@randomguy5922
@randomguy5922 4 года назад
i want to remove numbers dots and extra spaces from front of a string, like 1. John wick or 2 . Iron Man , these should be like John wick and Iron Man , i dont want any number or spaces or dot in front but spaces in between words should be preserved, can you help me to make a regular expression , so that i can use preg_replace.
@jetmirismaili3435
@jetmirismaili3435 6 лет назад
Hi, i'am waiting for JavaScript Videos, it's so easy to learn with you
@dondada1507
@dondada1507 6 лет назад
You can learn some javascript on thenewboston. That Bucky guy is really awesome too
@Kakaohunden
@Kakaohunden 6 лет назад
Any chance a guide to setting up Atom with php properly is in the timeline of videos?
@KanagawaMarcos
@KanagawaMarcos 6 лет назад
For those who want to understand better what Regular Expressions are, search on youtube by: Computer Theory - Regular Expressions
@fredrikjohansen
@fredrikjohansen 6 лет назад
What php version are you using in this video and the others videos?
@tyhrranoids7917
@tyhrranoids7917 6 лет назад
Hi sir, I recently started your php tutorials (at episode 16 atm) and I'd like to ask how much more videos will you be sharing with us? I hope it'll be tons more. If you have a lot of plans for future episodes I'd like to make the suggestion of creating more exercises for us as you did in episode 15 and 16 for example. Regards Tyrranoids
@Dani_Krossing
@Dani_Krossing 6 лет назад
Hi :) a programming course like my PHP playlist is potentially endless... And I am at the moment planning more exercises for it, so it is still gonna have more videos added to it ;)
@tyhrranoids7917
@tyhrranoids7917 6 лет назад
mmtuts thats some great news to hear!
@Vaidas951
@Vaidas951 6 лет назад
Hi there, Daniel! I was wondering, will You someday start teaching PHP 7.2? Because only few years is left to livo for PHP 5 version.. Thank you!
@Dani_Krossing
@Dani_Krossing 6 лет назад
At the moment I have a lot of other non-PHP lessons planned, so any separate PHP7 lessons will be planned when I have a hole in my schedule :)
@Vaidas951
@Vaidas951 6 лет назад
mmtuts Great! Thank you again! I have learned a lot from you :) i am very greatfull!!
@Solitide
@Solitide 6 лет назад
a tutorial on how to log user actions, for example if a user edit, delete or create something it will save the user action in the database
@daniellovett4952
@daniellovett4952 6 лет назад
Hey dan, as a video Suggestion, following on from #44 Loginsystem Video, can you please make a video showing how to make different types of accounts and give permissions to them Account types? Thank you
@frankpacheco8843
@frankpacheco8843 6 лет назад
I think you can add a field to the database (ex. acct_type) that holds different numerical values for permissions (0 for Adminstrator, 1 for Editor, 2 for user etc.). You can then add something to your IF statements and SQL statements to check permissions, thereby insuring restricted access for certain individuals and full access to others. I hope this helps.
@anurajms
@anurajms 2 года назад
thank you
@sameera-dananjaya-wijerathna
@sameera-dananjaya-wijerathna 3 года назад
Interesting video
@bossmanfearlesstv9250
@bossmanfearlesstv9250 5 лет назад
amazing video, thank you so much.
@saadieajal7832
@saadieajal7832 3 года назад
I can't listen please Can you attach the script file ( cc ) to the video? Thank you so much
@abdennasserelyassin3493
@abdennasserelyassin3493 6 лет назад
Thank you for this tutorial
@alhonaifi
@alhonaifi 4 года назад
Thanks
@Darlene-dono
@Darlene-dono 6 лет назад
mmtuts please would you consider making a video on CMS in php here please
@faizanrehman4209
@faizanrehman4209 6 лет назад
Daniel make video on PAGINATION please
@drcod3r329
@drcod3r329 6 лет назад
welcome again a suggestion why you record all the series for any tutorial and upload in a playlist so we can move on instead of waiting that kind of booring isnt ?
@Dani_Krossing
@Dani_Krossing 6 лет назад
Hi :) I can't do that. 1: A playlist such as PHP does not have an end, so it is not possible to create a "finished" playlist. 2: RU-vid is my job and I cannot put uploading on hold for months, until I have "finished" an entire playlist of 60+ episodes. I would both loose subscribers and RU-vid would see my channel as less relevant, since there is less/no activity on it. 3: I have not seen other full time RU-vidrs do it this way, probably of same reason as above mentioned points.
@onex_luadev2199
@onex_luadev2199 6 лет назад
Those expressions got me a 48% in math a while back.
@Dani_Krossing
@Dani_Krossing 6 лет назад
Hope you will find this video useful then :)
@prince5922
@prince5922 4 года назад
19:16 this doesn't work, that statement doesn't match if there's a "Me" both in the beginning and the end of the sentence.
@johncrosby5636
@johncrosby5636 Год назад
I just paid the $5.00 to get the Material for this lesson, but there is nothing there except for the video. I am looking for the materials for the lesson. If you only put the video in there then that is a false advertisement and I want a refund
@Dani_Krossing
@Dani_Krossing Год назад
Hi John. The very latest post I have on Patreon, explains why the material for some lessons might have gotten lost, and that I will reproduce it for anyone if they request it on that post. 🙂 The post is the first thing you see on top of my page, and I’d love if you took a few secs to actually check my page, before publicly announcing “false advertisement” under my videos… I will take a look at the missing lesson material today once I’m back at the office, and re-create it then. 👌
@Dani_Krossing
@Dani_Krossing Год назад
It is now up for download. 👈
@gglandshomeunixorg
@gglandshomeunixorg 6 лет назад
@shahidmahmood4790
@shahidmahmood4790 5 лет назад
You are a very good teacher, have great knowledge but you talk too much fast which prevent us to understand the things. Hope you won't mind it. Thanks anyway.
@westfield90
@westfield90 6 лет назад
Thank you
Далее
Learn Regular Expressions In 20 Minutes
20:52
Просмотров 1,3 млн
小丑调戏黑天使的后果#short #angel #clown
00:16
Grand Final | IEM RIO 2024 | BO5 | КРNВОЙ ЭФИР
6:35:24
Introduction to RegEx
11:53
Просмотров 10 тыс.