Programming Basics #30 Regular Expressions

Course. The Basics of Programming.#30 Regular ExpressionsLearn to code.Introduction to regular expressionsAs we know, strings have great built in functionalities, we can convert them to upper case, we can slice peaces out, we can find if a word exists in a string. But what we are more interested in, is in the format itself. Maybe we want to ask, is it an email address, or is it a url, or perhaps we want to know if a password have a mixture of upper case and lower case letters and special symbols.Now to do this, many programming languages including java_script, have something called, Regular expressions built in to the language.Regular expressions are strings looking for sequences of characters, that can describe and can match patterns in strings.They are not pleasent to begin with, but they very useful and you should know what they are, and what they can do.You have always two parts to work with regular expressions.First you create the expression that describes the pattern you looking for.And second, you try and apply to something, asking if he match's.So, step one.We create a variable, i'm calling my, R, E, from my regular expression. Equal to, forward slash, hello, forward slash.And now you may ask, where is the quotes?Note that we have the two forward slashes. They marking this as an regular expression.Is the java_script short hand for doing this....


You should go in France !

Jeremy Paulus

Well ty if it makes you feel any better your my favorite so


I mean Tyler with little to no beard

Noah Scholz

When will you make a AFL video for us Australians

Gamer Cleo

When i watched this i got scared then opened my bedroom door and the lights

Ashley Haley

film in Hawii

Nelson Benitez


Achvulo kent

Name of the song please anyone

kody savine

fake and homosexual

Whale Bagel


Sandhiren Pillay

That ending, you cheeky basterd


When people ask for nudes....

Renee Alexandra

That girl is Very impolite.

Shamvi___ Lokre

Cant believe I just found this!The music and the reveal of every Easter egg is on point. : D


For the Easter Egg at 5:05, if you bring a Banshee through the building it'll turn into a Phantom 

Kit Snake

@FunWithGuru  if you haven't already, do just cause 2



When I was three

Shane Minto

youguysarethe best

jamal adam

Who’s watched this video more than once?

papyrus skeleton

Who would be hunting a duck and a deer


os sigo de hace poco, pero este video os hace grandes. I love this dude perfect

iBest Case

Very Sad

Rafiida Haniif

1:34 the stones look likes the one in Brave

Man;takes phone back and runs away crying

Macfie Kids

You guys should do more RC battles, cuz there great to watch


sneaker shopping with my grandma


I can't believe this happened I'm so sorry

Live 2 bee Haeny

Jk Rowling u are the person I look up to😌

Aesthetic Dreams101

who else thinks the backround music at the beganing sounds like when ur ears ring

Aquila Raisha

The movie is not even out yet and i'm already tearing up with how beautiful the animation is

Matthew Ryley


Est Crit

see, you dont need to explain to anyone why this is no 1 and this is no 3, its your opinion anyways. dont mind other people. 


We're do u get these costumes

Przemek Lisicki

You have dumb parernts

Connor Bell

I’ve been watching your YouTube video since I was seven and I’m 12 now

hii kw

I loveee being singel😅


Nested Menu