59: Functions Using Regular Expressions | PHP Tutorial | Learn PHP Programming

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

КОМЕНТАРІ • 33

  • @parinayabaniya6118
    @parinayabaniya6118 5 років тому +3

    mmuts thank you so much for the tutorials . Because of u my college project has been far more easier. Again thankyou so much for this :)

  • @dezmacht1
    @dezmacht1 6 років тому

    Mannn you should get more recognized! This is gold

  • @laPas2024
    @laPas2024 7 років тому

    thanks. Please make more php basic tutorials. Are very useful and easy to understand !

  • @suong534
    @suong534 4 роки тому +3

    7:17 "string2 just to be creative" 😂😂😂

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

    you are just awesome

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

    thanks

  • @mauricemuteti4053
    @mauricemuteti4053 6 років тому

    Well explained!!!

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

    Thanks alot!!!!!!!!!

  • @drcod3r329
    @drcod3r329 7 років тому

    thanks alot awesome as always :) more about regexp please

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

    Regex must be always between slashes (//), but single quotes too? Like '/ regex... /'?, what about double quotes?

  • @valentindobrica9584
    @valentindobrica9584 6 років тому

    nice video

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

    Hi! How can I apply preg_match or preg_match_all PHP function to a chatbot script example when a person types in a typo? do you have an alternative solution for that? Thanks!

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

      In PHP, you can handle typos using various methods, including approximate string matching algorithms, Levenshtein distance calculation, or using external libraries like Text_LanguageDetect or Text_Fuzzy. - chat gpt

  • @sjarreldevis6406
    @sjarreldevis6406 7 років тому

    Hey, thanks for another great video! What is the difference between echo and print_r?

    • @MilanB
      @MilanB 7 років тому +1

      I think the main difference is in formatting, but i heard somewhere that "echo" is faster.

    • @Dani_Krossing
      @Dani_Krossing  7 років тому +3

      print_r is a way for us to see arrays in a visible format in the browser. We use it for testing purposes to see what is inside arrays and don't really use it for anything besides this. Where as print and echo is used to output data in the browser. :)

  • @RSTao77432
    @RSTao77432 6 років тому

    Is preg_match specific to php or does it work in javascript aswell? & What does the Preg stand for?

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

    How we can create this type of string?
    1. Name will start with one consonant
    2. Second letter will only be vowel
    3. After each vowel Any one or two constants
    4. Vowel will be only one between consonants

  • @KimKongKun1337
    @KimKongKun1337 7 років тому

    God video. Igen.

    • @Dani_Krossing
      @Dani_Krossing  7 років тому

      Tak :) for lige at svare på den anden besked du sendte, da jeg ikke kan finde den i mit dashboard, så kan man godt programmere i WordPress ;) Det er sandt at man kan lave hjemmesider i WordPress uden at programmere, men det er også et kæmpe område for programmører. Alle de temaer, plugins, og widgets du kan finde gratis i WordPress er alle lavet af en programmør som tjener penge på det :) Når jeg laver en WordPress hjemmeside så laver jeg også altid mit eget tema/hjemmeside og ligger den ind i WordPress bagefter. En ting der tit forvirrer folk er at WordPress er set som et slags "lav en simpel hjemmeside uden programmering" redskab, når det i virkeligheden er et Content Management System. Hvilket betyder at WordPress er beregnet til at ændre indhold på hjemmesider gennem et mere simpelt dashboard, så man ikke har behøves redigere i koden hver gang. Håber det her hjalp :)

    • @KimKongKun1337
      @KimKongKun1337 7 років тому

      Ved du hvordan man viser alle databaser man har i php?
      man kan vel ikke gør sådan:
      _$sql = "SELECT * DATABASES"_
      _$result = mysqli_query($con, $sql);_

  • @BucurIonNiculae
    @BucurIonNiculae 7 років тому

    Big Like

  • @augischadiegils.5109
    @augischadiegils.5109 3 роки тому

  • @sirahmed6562
    @sirahmed6562 7 років тому

    Can you made a video how to make navigations in php please

  • @ImpulseYou
    @ImpulseYou 7 років тому

    easy

  • @nowystudios
    @nowystudios 7 років тому

    make more js tuts :)

  • @FaisalJ662
    @FaisalJ662 7 років тому

    What's about are_replace();

    • @Dani_Krossing
      @Dani_Krossing  7 років тому +1

      Do you mean str_replace()? :) If you just need to replace a basic word or basic characters then you can use str_replace(). But when it comes to using "regular expressions" we use preg_replace().

    • @FaisalJ662
      @FaisalJ662 7 років тому

      Oh thanks I got it

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

    Thanks