VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Regular Expressions (Regex) in JavaScript - tutorial

Regular Expressions (Regex) in JavaScript - tutorial

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn the basics of using regular expressions / regex in your JavaScript applications. Check out Cody Seibert's main channel: https://www.youtube.com/channel/UCsrVDPJBYeXItETFHG0qzyw
Date: 2022-03-14

Comments and reviews: 7


Question: I have the following regex and text and i would like to match all doubles. However when I try to match them all it skips the 2nd line. How come? Note i am working in bash via mac terminal.
what flags should i used besides -o and -i
([a-z]+) +\1
Paris in the the spring.
The theoretical viewpoint is of little value here.
I view the theoretical viewpoint as being of little value here.
I think that that is often overdone.
This sentence contains contains a doubled word or two two.
Fear fear is a fearful thing.
Writing successful programs requires that the the programmer fully understands the
problem to be solved.

reply

for anyone wondering whats the difference between the + and the - sign, I got the answer for that.
The + sign is true if you have at least 1 match.
The - sign is true if you have at least 0 matches.

reply

Hi..can someone help me on my problem...how can I sort, filter and set ranges columnwise on notepad ++.. I am struggling to find the right solution for this issue I am facing..thank you in advance..
reply

This was a great tutorial man, thanks! I like how you also pointed out a resource for us to use to continue learning and testing it ourselves. Got it is one go and can continue to learn.
reply

I don't get where he is testing [a-z]-1,4-. Your testing if it has 1-4 characters? (name is) is more than 4 characters, so how come it evaluates to true?
reply

Idk if it's something in the audio or if his accent is a bit different but I found it quit hard to grasp everything he was saying
reply

At the end you say thank you so much for watching while me must be thankfull to you about your free valuable information.
reply
Add a review, comment






Other channel videos