JavaScript Video Tutorial Pt 6

preview_player
Показать описание

In this part of the JavaScript Video tutorial I will introduce Regular Expressions. I go over all the JavaScript Regular Expression functions.

Рекомендации по теме
Комментарии
Автор

You're very welcome :) I thought faster tutorials would help many people learn easier. I'm happy you liked them. May God bless you and your family as well

derekbanas
Автор

@gkniffen I'm glad you liked it. It is a lot to take in. It's pretty much an entire semester of JavaScript in just 6 videos :)

derekbanas
Автор

Thank you :) That is the benefit of being a YouTube partner. I don't know why other people don't take the time to make them? I'm very happy to have been helpful

derekbanas
Автор

@dogdutyascetic You're welcome. Thanks for taking the time to say hi :)

derekbanas
Автор

Thank you :) I'm working on tutorials that teach how massive projects are made now. My UML, Object Oriented design, design patterns, refactoring, and algorithm tutorials cover all the high level stuff I think you are looking for. I hope you like them and if there is anything I should add feel free to tell me. Always feel free to ask questions

derekbanas
Автор

You're very welcome :) thanks for taking the time to tell me you liked them

derekbanas
Автор

Backslashes are used to create codes that represent letters, numbers, spaces, etc. I link to the code in the description. That may help

derekbanas
Автор

You're very welcome :) I'm glad you enjoyed it

derekbanas
Автор

There are many things I don't know, but I feel comfortable I could learn most anything pretty quickly. I've forgotten assembly and would have a lot of trouble building something like a graphics engine. Of course their are new frameworks introduced constantly that I haven't had time to learn. I'm no genius, but I do enjoy learning and I think that helps you learn easily :)

derekbanas
Автор

@roberterwin24 A variable just stores a value. A function does something with variables. So if x and y are variables. Then a function that adds x + y and then returns the result would be a function.

derekbanas
Автор

. – Represents any 1 character except a newline
So if you want to search for a period you have to tell the regex processor that you are looking for a period and not any one character. You do that with a backslash

derekbanas
Автор

Because a dot is used when defining a regular expression. To define that I'm looking for a real period I have to escape the period with a backslash

derekbanas
Автор

Thank you very much :) I'm very happy to be able to help and good luck with your exam

derekbanas
Автор

@PajamaFreak You're welcome :) I just have Google Chrome opened to the side of the screen

derekbanas
Автор

I can't believe that I am able to watched 1-6 video tutorials . Awesome

ronniej
Автор

Mr. Derek Banas,
Thank you very much for your videos. Its really nice to recollect in a fast track mode.
Very helpful. God Bless you..

BhagyeshSoni
Автор

Sorry about that, I only made sure the regex would work if there was one dot in the domain. I can get you one that works with yours if you need it?

derekbanas
Автор

Your videos are AMAZING! They have really helped to understand JavaScript for my exam tomorrow.
You seriously saved me from failing
Thank you so much :)

zazzyfrazzy
Автор

Thanks again for the videos, I appreciate the quick pace. I wanted to mention you need the 'g' modifier if you want successive calls to exec to return the next match. Otherwise it just keeps returning the first match.

var regexPat = /\d{3, 5}/g; // 'g' is NEEDED for iterative exec() calls.
var regMatch = regexPat.exec(longStr);
while (regMatch) {
document.write("regMatch: " + regMatch + br);
regMatch = regexPat.exec(longStr);
}

Without the 'g' it's an infinite loop.

RPQM
Автор

Very cool little tutorial. In 10 mins you can quickly learn or recall everything you basically need to build/understand a regex. Thank you !

ardoren