Regular Expression Basics

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 95

  • @kevinconklin4776
    @kevinconklin4776 7 лет назад +3

    Incredible. I wish all tutorials were this clear and concise. You go from blackboard teaching to ACTUAL coding and break it down piece by piece. Not copy-pasting code with barely any explanation of what is going on within the code. Keep it up, Jason!

  • @yash1152
    @yash1152 Год назад

    8:56 > _"color coded command line is we can actually see [matches]"_
    for those wondering, it actually is achieved by doing this (if wanted persistently, then in the bashrc file): alias grep='grep --color'

  • @BlackEswadeh
    @BlackEswadeh Год назад

    literally , the best straight to the point tutorial soo far

  • @shizyninjarocks
    @shizyninjarocks 8 лет назад +24

    Seriously, man, you should become a teacher. Much thanks.

  • @MichaelStoegner
    @MichaelStoegner 8 лет назад +29

    grep stands for '-g-lobally search for a -r-egular -e-xpression and -p-rint out matched lines'.

  • @vishwanathlingam4141
    @vishwanathlingam4141 2 года назад

    Best video on regexp, clean and concise, thankyou very much!!

  • @apparte462
    @apparte462 3 года назад +1

    You are the best teacher ever, simple and to the point. If you were a girl I would have kissed you.

  • @streetdogg4406
    @streetdogg4406 6 лет назад

    Thumbs up. Thanks to people like you, people are able to get smarter in computer science.

  • @Ravicgsce
    @Ravicgsce 8 лет назад +6

    Hey I just spent 30 worth while minutes practicing Regular Expressions. well compiled lecture. Thank you Jason

  • @MrBigCannoli
    @MrBigCannoli 5 лет назад

    Helped me so much. Taking an online course with no videos and this just saved me.

  • @harmindersandhu5756
    @harmindersandhu5756 7 лет назад +2

    I had been searching for something that would explain grep, sed, and regular expression for so long, and no resource made much sense, but you made everything so clear and easy to understand. Thanks so much :)

  • @linuxlegion4312
    @linuxlegion4312 4 года назад

    One of the best tutorials in Linux

  • @jonnathannolasco8390
    @jonnathannolasco8390 5 лет назад +2

    Thanks a lot for this lesson, I was afraid of even getting started with learning RegEx and this video helped me remove those fears.

  • @slowriot
    @slowriot 6 лет назад +1

    This video series is one of the best I've ever seen. Thanks so much for your approach. Hope to see more someday!

  • @malakumari2296
    @malakumari2296 4 года назад

    Thanks jason... Well compiled and explained tutorial. Cleared many of my doubts on regular exp... Many thanks

  • @cybermin
    @cybermin 2 года назад

    Thanks a lot! I'm studying for the CompTIA Linux exam and I have trouble understanding regular expressions. I'm gonna practice a lot, your video made it much easier to understand.

  • @aabid3677
    @aabid3677 4 года назад

    It's a very informative and perfect video for those who don't know anything about regex.

  • @bhaswargupta3482
    @bhaswargupta3482 3 года назад

    Concise,Clear,To the point

  • @sanjaychty
    @sanjaychty 7 лет назад

    Sir you are too good...the way you teach is amazing. Very precise and to the point.

  • @gyanasahu1006
    @gyanasahu1006 5 лет назад

    Amazing amazing tutorial!! Anytime I forget grep I will come back here. Many thanks!!

  • @JustLikeRAV
    @JustLikeRAV 8 лет назад +22

    You sir are one hell of a teacher!!

  • @prachisaxena7635
    @prachisaxena7635 6 лет назад

    Very informative tutorial..I was giving a practice mock interview to my husband and i could answer most of the questions correct. Thanks man. bless you

  • @ronnni1000
    @ronnni1000 7 лет назад

    Thanks Jason , really cleared most of the things in on Reg-ex. really appreciate your time on this..

  • @facundopascual9125
    @facundopascual9125 7 лет назад

    Just a magnificent teacher. Thx from Argentina my friend!

  • @ivonneterrero3454
    @ivonneterrero3454 8 лет назад

    Beautifully done. Thanks so much for sharing your expertise. Totally worth watching.

  • @mohamedsalman2323
    @mohamedsalman2323 2 года назад

    The perfect explanation I wish you were my professor.

  • @wkchong1
    @wkchong1 6 лет назад

    Jason. Your video on REX is really helpful, really appreciate it.

  • @dizayz
    @dizayz 3 года назад

    Thank you so much for this great video👍👍👍

  • @MARK01986
    @MARK01986 3 года назад

    Please keep doing this.!!!!!!!!!!!!!!!!!!!
    Thank you Sr.!!

  • @koshisunuwarrai
    @koshisunuwarrai 4 года назад

    Thanks. This is very helpful, to understand the basic concept of regex.

  • @TheGodlessGuitarist
    @TheGodlessGuitarist 3 года назад +1

    grep stands for g/re/p which is the basic pattern form where 'g' means 'global' (not 'get'), 're' means regular expression and 'p' means print. This goes back to the early days of Unix before even System V I believe.

    • @marcisberzins
      @marcisberzins Год назад

      There is a Computerphile video with Brian Kernighan talking about this.

  • @eddiecarranza9344
    @eddiecarranza9344 7 лет назад

    Thank you for the lesson, just what I needed! Very well done Sir!

  • @utkuceylan2309
    @utkuceylan2309 Год назад

    Thank you, this helped a lot. Truly awesome.

  • @aldolunabueno2634
    @aldolunabueno2634 Год назад

    7:45 We'll use grep until it breaks (and then we'll use egrep).
    9:21 Put double quotes to avoid some non-standard character of our regex being interpreted by the shell like actually shouldn't.
    34:06 The sed command filters daa for editing.

  • @NoEgg4u
    @NoEgg4u 5 лет назад

    Very good video. Well done.

  • @ganymedeshortride
    @ganymedeshortride 3 года назад

    Just installed Linux subsystem and found this very helpful, because I used for number of years 'Windows' , didn't know to type single command in a shell, okay maybe some. Some commands match - some not at all. Thank you. * I have to mention since Ii use linux scripts I see better staff on a monitor! :) + there is a couple more sites in a search experience.

  • @dinocitozi9216
    @dinocitozi9216 6 лет назад

    Amazing lesson Jason. Well done I will subscribe and give you thumbs up. Well done loved it

  • @neerajbhattt
    @neerajbhattt 8 лет назад

    Really excellent work. It helped me a lot...

  • @schwarzchauhan
    @schwarzchauhan 2 года назад

    30:59 curly brackets are parrt of the extended grep. POINT NOTED

  • @sarcasmandsmacks7129
    @sarcasmandsmacks7129 7 лет назад

    Really struggling with regex for some reason, but your tutorial is helping!

  • @shaun_rambaran
    @shaun_rambaran 8 лет назад

    This was really good. Thanks for this.

  • @nasirali-fs3fk
    @nasirali-fs3fk 4 года назад

    Thank you sooOOO much Jason! good stuff here.

  • @nasirali-fs3fk
    @nasirali-fs3fk 8 лет назад

    jason, im sorry if i didnt express it b4, but i love you!! im sorry i meant you,ve opened my mind about regex. i really really apprecite this pal. thanks for helping people like i. God bless you bro :)

  • @lordknighton
    @lordknighton 9 лет назад

    This is really a good vid. I stopped at the half way point, but plan to continue tomorrow. Thanks for sharing.

  • @gautamarora6516
    @gautamarora6516 3 года назад +1

    Why this playlist has stopped in between. We want a whole playlist with more videos on Linux kernel. You are such an awesome teacher :0

  • @jiteshnarula9257
    @jiteshnarula9257 7 лет назад +1

    WOW Nice Lecture!!

  • @MrDansrvx
    @MrDansrvx 7 лет назад

    Great video, thank you

  • @yabba234
    @yabba234 6 лет назад

    amazing video, thank you

  • @marketer116
    @marketer116 Год назад

    great video...

  • @ShehabEllithy
    @ShehabEllithy 8 лет назад

    A doctor who fan right there.

  • @davidlightman4929
    @davidlightman4929 2 года назад

    Very good video even though it's an oldie. It would be so great to have an update on this with more of sed and awk :-p

  • @Perciwell
    @Perciwell Год назад

    I wonder if there is an advantage in using "-P", the perl-like regexes with grep.

  • @NicolaeCristian175
    @NicolaeCristian175 4 года назад

    nice tutorial! thanks

  • @yash1152
    @yash1152 Год назад

    16:57 > _"\d Not standard in grep"_
    aahhhhh!!! msys2's GNU grep 3.0 doesn't has this :)

  • @twixrl644
    @twixrl644 2 года назад

    THANKS A LOT HOMIE

  • @pensamentosimpuros4945
    @pensamentosimpuros4945 2 года назад

    Another though. if we use webscraping or wget the entire page, just above the buffer saved. we can regex the entire source for emails

  • @miss-astronomikal-mcmxcvii
    @miss-astronomikal-mcmxcvii Год назад

    I still wonder why there is no abbreviated character class for vowels, like [[:vowel:]]

  • @shahulrahman2516
    @shahulrahman2516 6 лет назад

    very concise and helpful

  • @bendeloyola9021
    @bendeloyola9021 7 лет назад

    AWESOME!

  • @ahmedalobaidy1
    @ahmedalobaidy1 6 лет назад

    thank you so much really amazing

  • @b0rd3n
    @b0rd3n 8 лет назад

    Thanks, even after few years i love to still learn stuff. Suggestion: maybe have the files you use in the examples available somewhere (put them online somewhere then archive with internet archive to make sure they are available forever)

  • @milarovas4363
    @milarovas4363 4 года назад

    Is there a CLI dictionary available for Mac Terminal?

  • @Ablankname
    @Ablankname 6 лет назад

    Thankyou for this.

  • @DrKarrarLab
    @DrKarrarLab 4 года назад

    thanks a lot !!

  • @shaffilali
    @shaffilali 7 лет назад

    Nice content

  • @abhinavsingh9720
    @abhinavsingh9720 2 года назад

    Thanks

  • @LunchKid
    @LunchKid 7 лет назад

    Thank you! This video was helpful :)

  • @hectorcasiano7469
    @hectorcasiano7469 6 лет назад

    Go Jason go Jason!!!!

  • @dARTh_k3LLy
    @dARTh_k3LLy 3 года назад

    How could I grep email addresses and simply return the domain name part behind the “@“?

  • @tonyfremont
    @tonyfremont 4 года назад

    Only one "complaint" a backslash is not a slash. ;)

  • @bogdanvidrean4728
    @bogdanvidrean4728 7 лет назад

    Very good tutorial.Thank you! Just one question: Is there anything wrong if I surround my pattern with double quotes even if I don't use some special characters?

  • @pankajkharade6936
    @pankajkharade6936 3 года назад

    👍👍👍👍👍👍

  • @sergioropo3019
    @sergioropo3019 6 лет назад

    nice.

  • @tjtube263
    @tjtube263 9 лет назад

    Do you have any advanced Sed tutorials? The web is overflowing with intros and basics

  • @mramosch
    @mramosch 2 года назад

    When you wc -w some text of exactly 1000 words you get 1000 as a result. However when you split the same text with grep into individual words you get 1040 words because grep is splitting off the ‘s and ‘t from words like
    • he’s
    • there’s
    • don’t
    • won’t
    • etc.
    when you do
    • cat input_file | grep -oE '\w{1,} '
    Is there a way to make grep behave like wc, or do we have to use a different strategy for getting the right (desired) result?
    Any ideas?

  • @deskharisma
    @deskharisma 11 лет назад

    Are you usually a trainger? You got great tone, vibe and way. Thank you for this :D

  • @saumya7747
    @saumya7747 2 года назад

    Why was it necessary to keep $ at the end of the email and ^ at the start ? Will it not work with those characters ?

  • @mrkiaa11
    @mrkiaa11 6 лет назад

    where could find my dictionary in centos 7-x86

  • @jinxblaze
    @jinxblaze 8 лет назад

    cool voice

  • @bobbysmith1439
    @bobbysmith1439 5 лет назад

    Great video! My only suggestion would be to pick one standard and stay with it. Example, only teach the "[0-9][a-z]" stuff. Don't include examples with the "/d /w" stuff. It just confused me.

  • @akhileshyadav9862
    @akhileshyadav9862 3 года назад

    Can anyone help me to give numbers not alphanumericals

  • @rootofminusone
    @rootofminusone 7 лет назад +1

    dog - dog = dog
    ok got it

  • @avin1608
    @avin1608 3 года назад

    Kang bli ngerti ngacung bae...

  • @shakedfish5279
    @shakedfish5279 8 лет назад

    so the sed command doesn't change the real file, only give you the results with the replaced item you asked for.

    • @nasirali-fs3fk
      @nasirali-fs3fk 8 лет назад

      sed does the change but an option of -e has to be specified before.

    • @nasirali-fs3fk
      @nasirali-fs3fk 8 лет назад

      +nasir ali flad of -i to be corrected

  • @opendojo929
    @opendojo929 6 лет назад

    Very nice video!
    I want my file to have the project name and version. How do you this with mv? I dont have and cannot install rename.
    mv project-3.2-jar-with-dependencies.jar ???????
    goal: project-3.2.jar

  • @pensamentosimpuros4945
    @pensamentosimpuros4945 2 года назад

    I guess we can use awk language. The spectrum would be wide!!
    ]

  • @timeless-lessons
    @timeless-lessons 6 лет назад

    You can pull this to ur github and add it to video for further references :
    github.com/zeeshanu/learn-regex

  • @apparte462
    @apparte462 3 года назад

    I would turn into gay just to marry you, very good video!!

  • @deadpl55
    @deadpl55 6 лет назад

    Grap "//d" /path/