Learn Regular Expressions (Regex) - Crash Course for Beginners

  Рет қаралды 209,757

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 184
@casperdewith
@casperdewith 3 жыл бұрын
34:48 For anyone confused why he didn't put a comma after the 2 for “two *or more*” it’s because it is in a lookahead: it only needs to see two digits and then it can stop looking because then we know there are at least two.
@kevinthomas689
@kevinthomas689 4 жыл бұрын
01:04 Using the Test Method 02:15 Match Literal Strings 02:57 Match a Literal String with Different Possibilities 03:46 Ignore Case While Matching 02:46 Extract Matches 05:33 Find More Than the First Match 07:16 Match Anything with Wildcard Period 08:54 Match Single Character with Multiple Possibilities 10:15 Match Letters of the Alphabet 11:04 Match Numbers and Letters of the Alphabet 12:15 Match Single Characters Not Specified 13:33 Match Characters that Occur One or More Times 14:19 Match Characters that Occur Zero or More Times 15:32 Find Characters with Lazy Matching 18:54 Find One or More Criminals in a Hunt 19:58 Match Beginning String Patterns 20:56 Match Ending String Patterns 21:39 Match All Letters and Numbers 22:47 Match Everything But Letters and Numbers 23:35 Match All Numbers 24:06 Match All Non-Numbers 24:40 Restrict Possible Usernames 27:28 Match White-space 27:56 Match Non-White-space Characters 28:26 Specify Upper and Lower Number of Matches 29:40 Specify Only the Lower Number of Matches 30:10 Specify Exact Number of Matches 30:46 Check for All or None 31:37 Positive and Negative Lookahead.....Check For Mixed Grouping of Characters 35:09 Reuse Patterns Using Capture Group 40:18 Use Capture Groups to Search and Replace 43:17 Remove Whitespace from Start and End
@JErock25
@JErock25 4 жыл бұрын
Oh, this made me so happy!!! Thanks a lot.
@kevinthomas689
@kevinthomas689 4 жыл бұрын
@@JErock25 .....😅
@hattorihanzo5707
@hattorihanzo5707 3 жыл бұрын
GOD
@kevinthomas689
@kevinthomas689 4 жыл бұрын
*FOR REFERENCE :----* \f matches form-feed. matches carriage return. matches linefeed. \t matches horizontal tab. \v matches vertical tab. \0 matches NUL character. [\b] matches backspace. \s matches whitespace (short for [\f \t\v\u00A0\u2028\u2029] ). \S matches anything but a whitespace (short for [^\f \t\v\u00A0\u2028\u2029] ). \w matches any alphanumerical character (word characters) including underscore (short for [a-zA-Z0-9_] ). \W matches any non-word characters (short for [^a-zA-Z0-9_] ). \d matches any digit (short for [0-9] ). \D matches any non-digit (short for [^0-9] ). \b matches a word boundary (the position between a word and a space). \B matches a non-word boundary (short for [^\b] ). \cX matches a control character. E.g: \cm matches control-M . \xhh matches the character with two characters of hexadecimal code hh . \uhhhh matches the Unicode character with four characters of hexadecimal code hhhh .
@nullied
@nullied Жыл бұрын
uhhhh thanks!
@dj10schannel
@dj10schannel 10 ай бұрын
Thank you
@conaxliu9677
@conaxliu9677 5 жыл бұрын
At 36:36, /(\w+)\s\1/ is actually not the same to /(\w+)\s\(\w+)/ When \1 is used, it enforces the same set of characters, so "regex regex" will match but "regex abcdefg" won't match. (Second word must be the same as the first word.) However, if use /(\w+)\s\(\w+)/ then a string containing any two different words seperated by a space will also match. So the purpose of using \1 is not just to save space.
@rakeshmali1727
@rakeshmali1727 3 жыл бұрын
Exactly!
@MohammadAlhef
@MohammadAlhef 4 жыл бұрын
The Best Course in The World , Thank You From Syria Arab
@RedEyedJedi
@RedEyedJedi 5 жыл бұрын
That was insanely helpful. Thank you so much Beau. I see 8 people don't have complete control over their mouse when clicking the like button.
@bmoffitt21
@bmoffitt21 5 жыл бұрын
Didn't realize Jerry Seinfeld is getting into the RegEx game. Great course, thank you!!
@MukeshKumar-rh1rs
@MukeshKumar-rh1rs 4 жыл бұрын
Name 🙏🙏🙏🙏🙏
@oussama40612
@oussama40612 3 жыл бұрын
Hahahahha
@faraza5161
@faraza5161 3 жыл бұрын
Underrated comment
@Bobson_Dugnutt_Esq
@Bobson_Dugnutt_Esq 3 жыл бұрын
"What is the deal with regular expressions? Does this imply that there are irregular expressions? Maybe they just need more fiber in their diet."
@Greerbowski
@Greerbowski 3 жыл бұрын
Don’t get me started on airline food!
@OliverWoodphotography
@OliverWoodphotography 5 жыл бұрын
This has helped me to understand htaccess URL rewrites
@roeltaga
@roeltaga 4 жыл бұрын
27:00 I think you missed something about the case when the username is longer than 2 characters. You made it so it has to start with two letters. I think the right regex would be this : /^[A-Za-z]{2,}\d*$|^[A-Za-z]\d{2,}$/ this checks is the username starts with at least 2 or more letters and then it allows you to have 0 or more numbers at the end. OR also checks if it starts with only one letter but has to have 2 or more numbers for it to be allowed.
@aditi_bscmathematics_3rdye740
@aditi_bscmathematics_3rdye740 3 жыл бұрын
thank you!!! yeah i was also thinking this and then i read your comment.
@theCuriousCivilEngineer
@theCuriousCivilEngineer 3 жыл бұрын
when you use {2,} it means at least two or more alphabets. so there is no problem with that
@MrBoiks
@MrBoiks 2 жыл бұрын
spec says numbers aren't allowed if the name is only 2 characters.
@icaruz9094
@icaruz9094 2 жыл бұрын
WOOW YOU'RE HIRED!!!
@julioarruda8182
@julioarruda8182 2 жыл бұрын
@@theCuriousCivilEngineer d88 should pass but it wont
@Jaybearno
@Jaybearno 3 жыл бұрын
Step 1- learn regex Step 2- forget regex Step 3- realize you still need to know regex, frantically try combinations on regexr until you get what you need.
@discodilip2000
@discodilip2000 3 жыл бұрын
lolol I know this is True because I ended up on this video too
@JacobKinsley
@JacobKinsley Жыл бұрын
I wish there was like, an "expanded" version of regex where instead of symbols and letters, it's words with some aliases for common things. Writing Regex is one of those things I really wish I never have to figure out ever again. Calling the expressions regular is like making a programming language and calling it "better programming language"
@conaxliu9677
@conaxliu9677 5 жыл бұрын
When I come to Lookaheads at 31:38 it starts to get complicated and confusing. Take the positive lookahead example: let quit = "qu"; let quRegex = /q(?=u)/; quit.match(quRegex); So, quote from 32:29: "It's first going to check for the 'q', and it's going to look ahead to make sure there is an 'u' LATER in the string." If that statement is correct then I would expect the following also works: let quit = "quit fooling around"; let quRegex = /q(?=fool)/; quit.match(quRegex); I expected it to work because I am taking "later in the string" as anything between the 'q' and the end of the string. So if the string is "quit fooling around" then I expect /q(?=fool)/ will also match. However, this is not the case. The lookahead actually just check the pattern NEXT to the 'q'. So only these would match: /q(?=u)/; /q(?=uit)/; /q(?=[a-zA-z ]*fool)/; Does that make sense or have I misunderstood something?
@mariocardenas1259
@mariocardenas1259 5 жыл бұрын
Yes that's right, in order to do what you want to do you would have to use /q(?=.*fool)/
@VeedFeed
@VeedFeed Ай бұрын
the best guide for regex!!!!!!!!!!!!!!!!!!!
@anyavailablehandle
@anyavailablehandle 3 жыл бұрын
Great clear and concise teaching. Great video . Thanks
@HostDotPromo
@HostDotPromo 5 жыл бұрын
If regex was easy, I wouldnt be watching this 🔥 hard to remember how it works.
@nkplus
@nkplus 5 жыл бұрын
Thanks Beau !! ---- Finally got !! which I was desperately waiting for ...
@conaxliu9677
@conaxliu9677 5 жыл бұрын
All my life I felt like something was missing, until I found you.
@127.
@127. 4 жыл бұрын
Corona, Corona... Be my Corona...
@yasam9311
@yasam9311 5 жыл бұрын
This video is soo great. gives everything concisely. sincerely thank you!
@faronildomelancia2454
@faronildomelancia2454 5 жыл бұрын
I'm brasilian and i love your channel.Congratulations!!
@ahmedhamed8324
@ahmedhamed8324 5 жыл бұрын
Man!! they've must read my mind!
@TheSclare
@TheSclare 5 жыл бұрын
Finally someone is talking about this topic
@TechnoDB
@TechnoDB 5 жыл бұрын
freeCodeCamp explanation is dope.. 😊
@PabloNevares
@PabloNevares 5 жыл бұрын
I think there's an error in the video explaining capture groups. At 36:36 the author says that this: /(\w+)\s\1/ and this: /(\w+)\s(\w+)/ Would have been the same thing, just shorter due to using \1 to refer to the previous capture group. These are not the same regex patterns. The first example will test whether the second string is a repeat of the first. The second example will allow two different strings to pass the test. Try both with "regex regex" and "regex rerex" to see the difference.
@pnuematikon
@pnuematikon 5 жыл бұрын
I noticed this too. Figured I'd see if there were any other comments before posting.
@conaxliu9677
@conaxliu9677 5 жыл бұрын
Ha, I just commented on that, and then started to read other people's comments...
@ricardocambundo2527
@ricardocambundo2527 3 жыл бұрын
This is a really good tutorial Got a deeper understanding of RegExp
@danhle7999
@danhle7999 4 жыл бұрын
thank you for the explaination this is exactly what i am looking for
@rockybalboa1086
@rockybalboa1086 5 жыл бұрын
Very detailed and we'll put together!
@hammadurrehman3850
@hammadurrehman3850 5 жыл бұрын
Well explained best video one can get on regex.
@gurunathrao2985
@gurunathrao2985 3 жыл бұрын
Regex is the criminal !
@pupfriend
@pupfriend 5 жыл бұрын
Little known fact. The guy who invented regex also invented water boarding
@LurajerLP
@LurajerLP 5 жыл бұрын
For real??😂
@nicknamekenny
@nicknamekenny 5 жыл бұрын
Source?
@arnoldp8962
@arnoldp8962 5 жыл бұрын
Meh, water boarding has been around since the catholic inquisition or earlier
@arunteltia7888
@arunteltia7888 4 жыл бұрын
what is water boarding
@noelkirkland
@noelkirkland 4 жыл бұрын
Haha, one guy says "source?" haha. I think what OP was saying is that learning regex is like torture.
@Bruno-ds8ze
@Bruno-ds8ze 5 жыл бұрын
yeah!! i was waiting for this, thanyou very much
@JohnBartmannMusic
@JohnBartmannMusic 3 жыл бұрын
35:00 "This is going to match for 5 or more characters". Noob question: doesn't the {5} mean it's going to match EXACTLY 5 characters?
@Z-713
@Z-713 3 жыл бұрын
Yes! It does. {x,y} the x is the minimum, and the y is the maximum. {1,3} will match 1, 2, or 3. {5,} will match 5 OR MORE. {5} will match 5 EXACTLY. So, when the maximum is left blank ({x,}) it treats it as x OR MORE, and when the minimum and maximum don't exist ({x}) it treats it as x EXACTLY.
@JohnBartmannMusic
@JohnBartmannMusic 3 жыл бұрын
​@@Z-713 He says "this is going to match 5 or more characters" but the code will match exactly 5. The code reads {5} but his voiceover suggests that the code reads {5,}. Is there a mistake or am I missing something?
@Z-713
@Z-713 3 жыл бұрын
@@JohnBartmannMusic Yes, you are correct. He did make a mistake in the video.
@theCuriousCivilEngineer
@theCuriousCivilEngineer 3 жыл бұрын
@@JohnBartmannMusic it's because he is using it in a look ahead which means it will look through exactly "five" characters and is the code finds five character it will not care about the rest of the string.
@JohnBartmannMusic
@JohnBartmannMusic 3 жыл бұрын
@@theCuriousCivilEngineer thank you
@JuanSB827
@JuanSB827 3 жыл бұрын
I think at 36:40 there is mistake. He says that replacing \1 is just to avoid rewriting (\w+) However /(\w+)\s\1/ tests TRUE for "regex regex" but FALSE or "regex somethingelse" /(\w+)\s(\w+)/ tests TRUE for "regex regex" but TRUE for "regex somethingelse"
@dj10schannel
@dj10schannel 10 ай бұрын
Man this was pretty darn good thanks beau 🙏
@Ali-vz9rs
@Ali-vz9rs 4 жыл бұрын
And another super useful video. Thank You freeCodeCamp.
@kefas404
@kefas404 5 ай бұрын
thank you this was really helpful to get the basics
@rolandoriley
@rolandoriley 2 жыл бұрын
Excelent course. .. thanks!
@mrzack184
@mrzack184 5 жыл бұрын
million thanks for this awesome video! it really taught me a lot.
@swapnilyadav714
@swapnilyadav714 3 жыл бұрын
You guys are using Seinfeld vision from 30 Rock😁
@dhruva167
@dhruva167 5 жыл бұрын
Thanks for Great tutorial.
@abdullahfurkanozbek7558
@abdullahfurkanozbek7558 5 жыл бұрын
I really consalidate my regex knowledge, thank you 😊
@WickedTwitches
@WickedTwitches 3 жыл бұрын
Be me, find a video, Beau is the narrator, leave understanding everything about rejects
@norflit
@norflit 3 жыл бұрын
the solution at 34:58 is not correct and the original challenge throws an error if I use 5 instead of 6 when testing string '12345'. let me know if this is a misunderstanding 🙂
@LevisRaju
@LevisRaju 3 жыл бұрын
I think they improved the test cases now. Coz I got the same error
@rajeshsahu3073
@rajeshsahu3073 5 жыл бұрын
For the username pattern challenge, I think you have missed the last point that says If there are only two letters then there should not be any number ?
@ntintelomazibuko9722
@ntintelomazibuko9722 4 жыл бұрын
He specified at least 2 letters so it will work
@jachiu89
@jachiu89 4 жыл бұрын
@@ntintelomazibuko9722 it's actually not working, I put the code he used and it's not passing because the regex won't match "Z97" since he used the {2,0} it needs at least the first two characters to be letters, it won't allow numbers.
@shankerm3959
@shankerm3959 4 жыл бұрын
I was looking out for that as well.
@roeltaga
@roeltaga 4 жыл бұрын
@@ntintelomazibuko9722 He made it so it has to start with 2 letters. But actually if the username is going to be longer than 2 characters needs to allow the 2nd one to be a number. I think the right regex would be /^[A-Za-z]{2,}\d*$|^[A-Za-z]\d{2,}$/
@ashutoshlohogaonkar8348
@ashutoshlohogaonkar8348 2 жыл бұрын
@@roeltaga Thanks man.. I was unable to pass one case of"Z97"
@chrikrah
@chrikrah 5 жыл бұрын
37:03 I don't think that /(\w+)\s\1/ is the same as /(\w+)\s(\w+)/ The former matches the exact same word again. So it would match "apple apple" but not "apple kiwi". Whereas the latter would match both "apple apple" and "apple kiwi". Correct me if I'm wrong.
@Martin-delta
@Martin-delta 5 жыл бұрын
I was thinking the exact same thing. I think you are correct.
@cataxcab
@cataxcab 5 жыл бұрын
Is regex the same in Java?
@chrikrah
@chrikrah 5 жыл бұрын
@@cataxcab Unfortunately, there is no standard for regular expressions. There are a lot of overlaps and the basics are the same, but a lot of details differ. Checkout www.regular-expressions.info - it has a lot of information on the different flavors of Regex.
@fabrice9848
@fabrice9848 2 жыл бұрын
@22:00 He confused slash with backslash, frequent mistake.
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 жыл бұрын
Thank u for this awesome video
@katieneko674
@katieneko674 2 жыл бұрын
how many times am I going to forget everything and come back to learn it again? Step by step is simple. putting it together is hard, and remembering what random letters do is simply not going to happen. Anyone got a way to memorize this or am I SOL?
@thuglife896
@thuglife896 5 жыл бұрын
Helpful as always Beau.
@bilalbeny4172
@bilalbeny4172 Жыл бұрын
thank u so much. it was an useful course.
@Blentux
@Blentux 3 жыл бұрын
When I first got to do with Regex I hated it. Now that I begin to understand it, I'm kinda starting having fun lol
@shashishekhar----
@shashishekhar---- 3 жыл бұрын
Thank you Beau , much appreciated thing !
@r1shabhnegi
@r1shabhnegi 2 жыл бұрын
Thanks a lot Beau!
@qlevrqt8886
@qlevrqt8886 Жыл бұрын
in 18:36 I don't understand why the result wouldn't only be [""], why doesn't it stop once it sees the second bracket? Because technically "h1" is inside .
@rjse4905
@rjse4905 4 жыл бұрын
Awesome explained. Thanks sir
@johnsonjayaraj7209
@johnsonjayaraj7209 Жыл бұрын
Great video, thanks!!
@kostiantynkarzhanov9216
@kostiantynkarzhanov9216 2 жыл бұрын
Beau, Thank you very much for this tutorial! It is great!
@germanduterte7110
@germanduterte7110 4 жыл бұрын
Regular Expression is the most hardest part of all. It's easy to forget the rules and difficult to learn.
@jeneshnapit3248
@jeneshnapit3248 5 жыл бұрын
What a coincidence I just got to regex like 10 mins ago. DM me if anyone looking to work on projects together.
@bafana_mhlamvu
@bafana_mhlamvu 5 жыл бұрын
What level of coding knowledge are those projects catering for?
@jeneshnapit3248
@jeneshnapit3248 5 жыл бұрын
@@bafana_mhlamvu I'd say begginner started learning JS a month ago know the basics and stuff but following the FCC JS at the moment. Can do DOM manipulation and have made a simple todo list.
@bafana_mhlamvu
@bafana_mhlamvu 5 жыл бұрын
​@@jeneshnapit3248​Although relearning JavaScript, that sums my current level of the language... I'm interested in doing these projects...
@sandoxs
@sandoxs 5 жыл бұрын
First of all sorry my bad english...Wonderfull tutorial...just to mention...There's an error on 27:22 : about username restrictions...in the conditions it was mentioned that 2 letter usernames cannot have numbers after letters but actually it can...pls fix it
@conaxliu9677
@conaxliu9677 5 жыл бұрын
I don't see the issue you described. What user name did you provide?
@rakibhossensarkar6080
@rakibhossensarkar6080 2 ай бұрын
mindblowing
@darkriderofwest
@darkriderofwest 5 жыл бұрын
Very educational. Thanks a lot.
@johnlewis7736
@johnlewis7736 4 жыл бұрын
Excellent. Thanks!
@VictorShirima-y2p
@VictorShirima-y2p Жыл бұрын
thank you its a good tutorial
@jvlensez
@jvlensez Жыл бұрын
Hi Beau, 1. Which program are you using for the code in the video? 2. I really liked the mouse pointer, could you please share how I could get that on my PC?
@Webnoob
@Webnoob 5 жыл бұрын
Excellent tutorial. Thx.
@LHSgoatman
@LHSgoatman 3 жыл бұрын
Thanks for the video, but I think you are mistaken or misspoke on the reuse pattern using capture group. You stated that if you replace the \1 with the same capture pattern that it would be the same thing. I believe that is a mistake, for example use repeatstring. If you replaced the \1 with (\w+) then Yes it would match the string, but it would also match “regex testing” and I don’t think that is what you are trying to do.
@tonydanza4502
@tonydanza4502 5 жыл бұрын
I guess specifying number of matches inside a look ahead uses different syntax than specifying number of matches not inside a look ahead? outside a look ahead {5} means exactly 5 but inside it means at minimum I take it?
@Noritoshi-r8m
@Noritoshi-r8m 2 жыл бұрын
Great lecture, ty.
@darkcodelab
@darkcodelab 5 жыл бұрын
Waiting for this!!!!!!
@MatheusPereira-nn9dj
@MatheusPereira-nn9dj 2 жыл бұрын
when we have this regexp information stored in variables , and from what I understand in the console they are in an array, can I use map() or filter() syntax?
@ajeetyadav4044
@ajeetyadav4044 3 жыл бұрын
Thanks Beau;
@arthurserafim8066
@arthurserafim8066 5 жыл бұрын
Just got busted in a code test, so here am I!
@dr_morpho
@dr_morpho 2 жыл бұрын
Thank you!))
@mikiaszerihun3681
@mikiaszerihun3681 Жыл бұрын
I think something went wrong on username validator regex. what do you think Mr Beau Carnes.
@emanuelmaza718
@emanuelmaza718 Жыл бұрын
En la parte de restricción de usuarios 24:40 solo me deja pasar el test utilizando la expresión /^[A-Za-z]{2,}\d*$ |^[A-Za-z]{1,}\d{2,}$/ si alguien encontró otra solución me la podría escribir en comentarios. At Restrict Possible Usernames 24:40 I'm able to pass the test with the expression /^[A-Za-z]{2,}\d*$ |^[A-Za-z]{1,}\d{2,}$/ Plz if there's any other solution can you write it in the comments.
@felixnoel8844
@felixnoel8844 3 жыл бұрын
This is certainly an informative video however it is not a beginner's video due to how fast paced it is and the assumption that some prerequisite knowledge is present. In this case JavaScript. Nonetheless it is a good tutorial for people who want to refresh their knowledge on this particular area.
@Ddjfhfjfj
@Ddjfhfjfj 2 жыл бұрын
10:07 Why aeiou in bracket don’t need comma ?
@whateveritwasitis
@whateveritwasitis 11 ай бұрын
Wanted to thank you i hit this in class, lmao but I did it with my collar😂😂😂i knew something was wrong, still got it though
@LurajerLP
@LurajerLP 5 жыл бұрын
Thank You 🤩
@leeboss373
@leeboss373 5 жыл бұрын
Why does I mean capitals and non capital? Why does g mean flag all? And how do you know this?
@kzakaria91
@kzakaria91 5 жыл бұрын
it's a standard thingy big boi, all programming languages has some kind of regular expression
@freecodecamp
@freecodecamp 5 жыл бұрын
"g" stands for global match, "i" stands for ignore case
@leeboss373
@leeboss373 5 жыл бұрын
freeCodeCamp.org thanks👍🏻
@ttbtv6266
@ttbtv6266 3 жыл бұрын
39:18 bruh what. Why would it match the space after the third '42' when the last element is any digits?
@souravsuman1993
@souravsuman1993 5 жыл бұрын
5:28 what will happen if their is multiple match in a single line? Will it return array of matching strings?
@redps8611
@redps8611 5 жыл бұрын
i think just the first unless g is specified at the end of the regex..... right?
@conaxliu9677
@conaxliu9677 5 жыл бұрын
@@redps8611 Right.
@emanuelmaza718
@emanuelmaza718 Жыл бұрын
En la parte de restricción de usuarios 24:40 solo me deja pasar el test utilizando la expresión /^[A-Za-z]{2,}\d*$ |^[A-Za-z]{1,}\d{2,}$/ si alguien encontró otra solución me la podría escribir en comentarios. At Restrict Possible Usernames 24:40 I'm able to pass the test with the expression /^[A-Za-z]{2,}\d*$ |^[A-Za-z]{1,}\d{2,}$/ Plz if there's any other solution can you write it in the comments.
@deepakbhargav7434
@deepakbhargav7434 4 жыл бұрын
THANK YOU BOSS
@GemsofPakistan1
@GemsofPakistan1 3 жыл бұрын
How to Find a regular expression that matches the last two columns of the file. ?
@СергейКрица
@СергейКрица 3 жыл бұрын
35:07 regex doesn't work in case of less than 5 chars console.log(/(?=\w{5})(?=\D*\d{2})/.test("ast99")) and returns true.
@rakibhossensarkar6080
@rakibhossensarkar6080 2 ай бұрын
awesome
@ttbtv6266
@ttbtv6266 3 жыл бұрын
At 43:22, why doesn't /^(\s+)\1$/.test(' Hello, World! ') equal True? Can someone explain this to me pls?
@abdoemad6938
@abdoemad6938 3 жыл бұрын
perfect !
@holo6433
@holo6433 3 жыл бұрын
Last task you can do without replace /[^\s].+[^\s]/
@harwinderthakur9708
@harwinderthakur9708 5 жыл бұрын
Thanks
@ankitmehrotra8519
@ankitmehrotra8519 5 жыл бұрын
Beau ur name is sweet and so is ur way of explaining everything..Many thanks beau, ur awesome..😁😁👏👏🍻🍻
@younglonny2220
@younglonny2220 5 жыл бұрын
Beau is beautiful in french (masculine, belle is feminine)
@prashantsuryawanshi9930
@prashantsuryawanshi9930 5 жыл бұрын
Can you tell me , which code editor are you using?
@freecodecamp
@freecodecamp 5 жыл бұрын
scrimba.com
@thesavagesalmon9464
@thesavagesalmon9464 5 жыл бұрын
use vscode
@orashusedmund7675
@orashusedmund7675 Жыл бұрын
in the username example you gave, how would we restrict Two-letter usernames from having numbers /^[A-Za-z]{2,}\d*$/ doesn't enforce this restriction
@GemsofPakistan1
@GemsofPakistan1 3 жыл бұрын
How to Find a regular expression that matches the last two columns of the file. ? PLEASE HELP
@charlesludwig8672
@charlesludwig8672 3 жыл бұрын
Next, Adam Sandler should narrate functional programming
@rajeshprasadh3717
@rajeshprasadh3717 5 жыл бұрын
Sir do you have any course which can teach me about how to make dynamic graph using JavaScript I want to make one project for my college. In that I will compare 10 wealthiest people in the world between 1990 to 2019 Also we need to fetch data from another website for this project. Please help and reply
@freecodecamp
@freecodecamp 5 жыл бұрын
Look into D3: kzbin.info/www/bejne/eWXXZ6Scfb9pitk
@AbdoMohamed-ml7ei
@AbdoMohamed-ml7ei 3 жыл бұрын
at Restrict Possible Usernames 24:40 if the string is three characters (one letter and two numbers ) it will get false so the expression should be /^[A-Za-z]{2,}\d*$ |^[A-Za-z]{1,}\d{2,}$/ (WRONG ANSWER Check Kristof S comment)
@AbdoMohamed-ml7ei
@AbdoMohamed-ml7ei Жыл бұрын
yeah the two characters long spec i missed that. thank you
@cataxcab
@cataxcab 5 жыл бұрын
Hey, will I be able to use this in Java? I googled, it says lookbehind isn't supported in js, or something like that!
@XilvermistTrollawney
@XilvermistTrollawney 3 жыл бұрын
33:50 I'm lost....
@seriousthing240
@seriousthing240 5 жыл бұрын
Sir tell me webmethod
@viniciusra9584
@viniciusra9584 5 жыл бұрын
Why not use comma instead of using let multiple times? instead of : let a = 0 let b = 1 let c = 2 let d = 3 use this: let a = 0, b = 1, c = 2, d = 3;
@OnyxBloodStone
@OnyxBloodStone 4 жыл бұрын
It's not gonna fit in a single line. Think about mobile viewers
Learn Regular Expressions In 20 Minutes
20:52
Web Dev Simplified
Рет қаралды 1,3 МЛН
Regular Expressions - Computerphile
17:19
Computerphile
Рет қаралды 246 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 22 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 12 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 20 МЛН
Learn JavaScript - Full Course for Beginners
3:26:43
freeCodeCamp.org
Рет қаралды 18 МЛН
Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text
37:55
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 110 МЛН
Regular Expressions (Regex): All the Basics
21:39
Luke Smith
Рет қаралды 58 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 736 М.
Regular Expressions in Python - FULL COURSE (1 HOUR) - Programming Tutorial
1:04:48
PowerShell Quick Tips : RegEx Regular Expressions
32:04
JackedProgrammer
Рет қаралды 2,6 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 22 МЛН