
Regular Expressions (Regex) in JavaScript - tutorial
video description
Date: 2022-03-14
Related videos
Comments and reviews: 7
Joseph
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
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
Rosso
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
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
Happy
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
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
itech
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
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
justadev__
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
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
Freda
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
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
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















