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!
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'
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 :)
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.
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.
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
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.
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.
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)
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?
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 :)
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?
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.
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
literally , the best straight to the point tutorial soo far
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!
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'
grep stands for '-g-lobally search for a -r-egular -e-xpression and -p-rint out matched lines'.
Wow thanks
Best video on regexp, clean and concise, thankyou very much!!
Thumbs up. Thanks to people like you, people are able to get smarter in computer science.
Helped me so much. Taking an online course with no videos and this just saved me.
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 :)
Seriously, man, you should become a teacher. Much thanks.
One of the best tutorials in Linux
You are the best teacher ever, simple and to the point. If you were a girl I would have kissed you.
Very good video. Well done.
This video series is one of the best I've ever seen. Thanks so much for your approach. Hope to see more someday!
Hey I just spent 30 worth while minutes practicing Regular Expressions. well compiled lecture. Thank you Jason
Concise,Clear,To the point
Thanks a lot for this lesson, I was afraid of even getting started with learning RegEx and this video helped me remove those fears.
You sir are one hell of a teacher!!
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.
There is a Computerphile video with Brian Kernighan talking about this.
Beautifully done. Thanks so much for sharing your expertise. Totally worth watching.
Thanks jason... Well compiled and explained tutorial. Cleared many of my doubts on regular exp... Many thanks
Sir you are too good...the way you teach is amazing. Very precise and to the point.
Just a magnificent teacher. Thx from Argentina my friend!
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.
Jason. Your video on REX is really helpful, really appreciate it.
Thanks Jason , really cleared most of the things in on Reg-ex. really appreciate your time on this..
Please keep doing this.!!!!!!!!!!!!!!!!!!!
Thank you Sr.!!
The perfect explanation I wish you were my professor.
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
It's a very informative and perfect video for those who don't know anything about regex.
Thank you, this helped a lot. Truly awesome.
I wonder if there is an advantage in using "-P", the perl-like regexes with grep.
30:59 curly brackets are parrt of the extended grep. POINT NOTED
Amazing lesson Jason. Well done I will subscribe and give you thumbs up. Well done loved it
Another though. if we use webscraping or wget the entire page, just above the buffer saved. we can regex the entire source for emails
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
Amazing amazing tutorial!! Anytime I forget grep I will come back here. Many thanks!!
great video...
I still wonder why there is no abbreviated character class for vowels, like [[:vowel:]]
Thank you so much for this great video👍👍👍
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.
Really excellent work. It helped me a lot...
Thanks. This is very helpful, to understand the basic concept of regex.
Is there a CLI dictionary available for Mac Terminal?
Thank you for the lesson, just what I needed! Very well done Sir!
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
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.
Really struggling with regex for some reason, but your tutorial is helping!
Thank you sooOOO much Jason! good stuff here.
How could I grep email addresses and simply return the domain name part behind the “@“?
nice tutorial! thanks
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)
This was really good. Thanks for this.
Great video, thank you
amazing video, thank you
This is really a good vid. I stopped at the half way point, but plan to continue tomorrow. Thanks for sharing.
THANKS A LOT HOMIE
Only one "complaint" a backslash is not a slash. ;)
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?
Why was it necessary to keep $ at the end of the email and ^ at the start ? Will it not work with those characters ?
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 :)
where could find my dictionary in centos 7-x86
Can anyone help me to give numbers not alphanumericals
Kang bli ngerti ngacung bae...
Nice content
WOW Nice Lecture!!
very concise and helpful
Do you have any advanced Sed tutorials? The web is overflowing with intros and basics
thank you so much really amazing
16:57 > _"\d Not standard in grep"_
aahhhhh!!! msys2's GNU grep 3.0 doesn't has this :)
A doctor who fan right there.
thanks a lot !!
AWESOME!
Are you usually a trainger? You got great tone, vibe and way. Thank you for this :D
Thankyou for this.
Thanks
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?
nice.
so the sed command doesn't change the real file, only give you the results with the replaced item you asked for.
sed does the change but an option of -e has to be specified before.
+nasir ali flad of -i to be corrected
👍👍👍👍👍👍
Thank you! This video was helpful :)
cool voice
Go Jason go Jason!!!!
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.
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
You can pull this to ur github and add it to video for further references :
github.com/zeeshanu/learn-regex
I guess we can use awk language. The spectrum would be wide!!
]
dog - dog = dog
ok got it
I would turn into gay just to marry you, very good video!!
Grap "//d" /path/