25 Comments

  • alexander shekhtman

    April 29, 2015

    why do you repeat [A-Za-z.] twice?

  • alexander shekhtman

    April 30, 2015

    the last expression, why use ‘ ‘ instead of ” “?

  • Anthony Vipond

    April 30, 2015

    8:00 < .*> should be < .+> You would not want to match tags with no
    characters in them, there should be at least one character.

  • Daniel Yol

    April 30, 2015

    Are there no code for this video?

  • Absolute 0 Internet Media Studios

    April 30, 2015

    Thank you Derek. I’ve been trying to understand regex for a while and I
    think I’m finally getting it.

  • Derek Banas

    April 30, 2015

    @Memaseschool Thank you 🙂 I’m glad you like them

  • Derek Banas

    April 30, 2015

    @kingbill404 Check out my psychology videos to learn how to program people.
    Things get very interesting after you learn how to do that 🙂

  • darkandgreen

    April 30, 2015

    If you search for Dan with Upper case S, but you have “dad” in your array,
    will it return it? Is there a function that you can call which gets rid of
    the case sensitive issue, eg, if you searchDAn or daN or DaN or DAN or dan
    will recognize you are looking for “Dan”

  • 666Rude

    April 30, 2015

    @derekbanas you also helped me pass my midterm..thanks again!

  • Derek Banas

    April 30, 2015

    You’re very welcome 🙂 Im glad you found it useful

  • Nikolaii99

    April 30, 2015

    hah, i just used preg_grep on a string instead of an array and got a bunch
    of errors… gonna have to find a different function or develop a different
    algorithm.

  • Derek Banas

    April 30, 2015

    @stormbytes Exception handling will be covered in detail along with MySQL,
    File IO, Security and tons more. Thanks for the nice comment 🙂

  • millenovecento65

    April 30, 2015

    two surprise … why: 1) %^w*bds$% doesn’t return [p* 1 ] 2)
    %^Do[^c|ug]% doesn’t return [Dog] Very very very good tutorial thanx a lot

  • Derek Banas

    April 30, 2015

    @himanshu745 You’re welcome. I’ve been doing this for a long time

  • zorakbane

    April 30, 2015

    number on video++

  • Nikolaii99

    April 30, 2015

    imma try to use preg_match to make sure a user input string does not
    contain letters (i want numbers and factions only).

  • Derek Banas

    April 30, 2015

    @zorakbane Yes I messed up this is really part 7. Part 8 is up now though.
    Sorry about the confusion

  • Engineer Amlan Dutta

    April 30, 2015

    very very very very niceeeeeeeeeeeeeeeeeeeeeeeeeee……….i love you
    derek banas for all this hard work ,you truly are awesome :))))

  • Derek Banas

    April 30, 2015

    What type of file? Anytime you don’t restrict what users can send to you
    that opens up a major security hole. Even if you allow them to upload an
    image, there are many ways this can be abused

  • AlexTheLionHeart

    April 30, 2015

    I am creating a register page and User have to submit a file how can I sand
    that file to the server (Mysql) ?

  • Mario Vazquez

    April 30, 2015

    Note: some browsers when presented with a regex containing dashes ( – )
    anywhere but preceding a ( ] ), interpret the regex to be a range instead
    and throw a tantrum that consoles read like so: “invalid range in character
    class”? The fix is just adding a ( ) to escape it.

  • 666Rude

    April 30, 2015

    great video!

  • Derek Banas

    April 30, 2015

    @caskethands That’s great! Glad to help

  • Derek Banas

    April 30, 2015

    The ? in the regex makes the . lazy, to make sure it stops before the first
    closing tag rather than before the last

  • Derek Banas

    April 30, 2015

    @warmics Thanks for pointing that out. I’m presenting the basics here which
    don’t always work perfectly. I eventually cover very precise usage of regex

Comments are closed.