Regular Expression Basics

  Рет қаралды 134,293

Jason Wertz

Jason Wertz

Күн бұрын

Пікірлер: 95
@BlackEswadeh
@BlackEswadeh Жыл бұрын
literally , the best straight to the point tutorial soo far
@kevinconklin4776
@kevinconklin4776 7 жыл бұрын
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'
@streetdogg4406
@streetdogg4406 6 жыл бұрын
Thumbs up. Thanks to people like you, people are able to get smarter in computer science.
@MrBigCannoli
@MrBigCannoli 5 жыл бұрын
Helped me so much. Taking an online course with no videos and this just saved me.
@apparte462
@apparte462 4 жыл бұрын
You are the best teacher ever, simple and to the point. If you were a girl I would have kissed you.
@vishwanathlingam4141
@vishwanathlingam4141 2 жыл бұрын
Best video on regexp, clean and concise, thankyou very much!!
@harmindersandhu5756
@harmindersandhu5756 7 жыл бұрын
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 :)
@shizyninjarocks
@shizyninjarocks 8 жыл бұрын
Seriously, man, you should become a teacher. Much thanks.
@MichaelStoegner
@MichaelStoegner 8 жыл бұрын
grep stands for '-g-lobally search for a -r-egular -e-xpression and -p-rint out matched lines'.
@dukethotness
@dukethotness 7 жыл бұрын
Wow thanks
@jonnathannolasco8390
@jonnathannolasco8390 5 жыл бұрын
Thanks a lot for this lesson, I was afraid of even getting started with learning RegEx and this video helped me remove those fears.
@Ravicgsce
@Ravicgsce 8 жыл бұрын
Hey I just spent 30 worth while minutes practicing Regular Expressions. well compiled lecture. Thank you Jason
@malakumari2296
@malakumari2296 4 жыл бұрын
Thanks jason... Well compiled and explained tutorial. Cleared many of my doubts on regular exp... Many thanks
@slowriot
@slowriot 7 жыл бұрын
This video series is one of the best I've ever seen. Thanks so much for your approach. Hope to see more someday!
@linuxlegion4312
@linuxlegion4312 5 жыл бұрын
One of the best tutorials in Linux
@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.
@JustLikeRAV
@JustLikeRAV 8 жыл бұрын
You sir are one hell of a teacher!!
@sanjaychty
@sanjaychty 8 жыл бұрын
Sir you are too good...the way you teach is amazing. Very precise and to the point.
@mohamedsalman2323
@mohamedsalman2323 2 жыл бұрын
The perfect explanation I wish you were my professor.
@MARK01986
@MARK01986 3 жыл бұрын
Please keep doing this.!!!!!!!!!!!!!!!!!!! Thank you Sr.!!
@aabid3677
@aabid3677 5 жыл бұрын
It's a very informative and perfect video for those who don't know anything about regex.
@ronnni1000
@ronnni1000 8 жыл бұрын
Thanks Jason , really cleared most of the things in on Reg-ex. really appreciate your time on this..
@prachisaxena7635
@prachisaxena7635 7 жыл бұрын
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
@bhaswargupta3482
@bhaswargupta3482 3 жыл бұрын
Concise,Clear,To the point
@facundopascual9125
@facundopascual9125 7 жыл бұрын
Just a magnificent teacher. Thx from Argentina my friend!
@NoEgg4u
@NoEgg4u 5 жыл бұрын
Very good video. Well done.
@gyanasahu1006
@gyanasahu1006 5 жыл бұрын
Amazing amazing tutorial!! Anytime I forget grep I will come back here. Many thanks!!
@ivonneterrero3454
@ivonneterrero3454 8 жыл бұрын
Beautifully done. Thanks so much for sharing your expertise. Totally worth watching.
@wkchong1
@wkchong1 6 жыл бұрын
Jason. Your video on REX is really helpful, really appreciate it.
@dizayz
@dizayz 4 жыл бұрын
Thank you so much for this great video👍👍👍
@utkuceylan2309
@utkuceylan2309 Жыл бұрын
Thank you, this helped a lot. Truly awesome.
@dinocitozi9216
@dinocitozi9216 7 жыл бұрын
Amazing lesson Jason. Well done I will subscribe and give you thumbs up. Well done loved it
@eddiecarranza9344
@eddiecarranza9344 7 жыл бұрын
Thank you for the lesson, just what I needed! Very well done Sir!
@koshisunuwarrai
@koshisunuwarrai 5 жыл бұрын
Thanks. This is very helpful, to understand the basic concept of regex.
@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 :)
@TheGodlessGuitarist
@TheGodlessGuitarist 3 жыл бұрын
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.
@davidlightman4929
@davidlightman4929 3 жыл бұрын
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
@marketer116
@marketer116 Жыл бұрын
great video...
@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.
@neerajbhattt
@neerajbhattt 8 жыл бұрын
Really excellent work. It helped me a lot...
@sarcasmandsmacks7129
@sarcasmandsmacks7129 7 жыл бұрын
Really struggling with regex for some reason, but your tutorial is helping!
@gautamarora6516
@gautamarora6516 3 жыл бұрын
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
@blackychauhan
@blackychauhan 2 жыл бұрын
30:59 curly brackets are parrt of the extended grep. POINT NOTED
@nasirali-fs3fk
@nasirali-fs3fk 5 жыл бұрын
Thank you sooOOO much Jason! good stuff here.
@shaun_rambaran
@shaun_rambaran 8 жыл бұрын
This was really good. Thanks for this.
@aldolunabueno2634
@aldolunabueno2634 2 жыл бұрын
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.
@NicolaeCristian175
@NicolaeCristian175 4 жыл бұрын
nice tutorial! thanks
@twixrl644
@twixrl644 2 жыл бұрын
THANKS A LOT HOMIE
@MrDansrvx
@MrDansrvx 8 жыл бұрын
Great video, thank you
@lordknighton
@lordknighton 9 жыл бұрын
This is really a good vid. I stopped at the half way point, but plan to continue tomorrow. Thanks for sharing.
@DrKarrarLab
@DrKarrarLab 4 жыл бұрын
thanks a lot !!
@ShehabEllithy
@ShehabEllithy 8 жыл бұрын
A doctor who fan right there.
@yabba234
@yabba234 6 жыл бұрын
amazing video, thank you
@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)
@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
@Perciwell
@Perciwell Жыл бұрын
I wonder if there is an advantage in using "-P", the perl-like regexes with grep.
@jiteshnarula9257
@jiteshnarula9257 7 жыл бұрын
WOW Nice Lecture!!
@abhinavsingh9720
@abhinavsingh9720 3 жыл бұрын
Thanks
@ahmedalobaidy1
@ahmedalobaidy1 6 жыл бұрын
thank you so much really amazing
@bendeloyola9021
@bendeloyola9021 7 жыл бұрын
AWESOME!
@shahulrahman2516
@shahulrahman2516 6 жыл бұрын
very concise and helpful
@miss-astronomikal-mcmxcvii
@miss-astronomikal-mcmxcvii Жыл бұрын
I still wonder why there is no abbreviated character class for vowels, like [[:vowel:]]
@deskharisma
@deskharisma 11 жыл бұрын
Are you usually a trainger? You got great tone, vibe and way. Thank you for this :D
@milarovas4363
@milarovas4363 4 жыл бұрын
Is there a CLI dictionary available for Mac Terminal?
@Ablankname
@Ablankname 6 жыл бұрын
Thankyou for this.
@LunchKid
@LunchKid 7 жыл бұрын
Thank you! This video was helpful :)
@shaffilali
@shaffilali 8 жыл бұрын
Nice content
@pankajkharade6936
@pankajkharade6936 3 жыл бұрын
👍👍👍👍👍👍
@sergioropo3019
@sergioropo3019 6 жыл бұрын
nice.
@hectorcasiano7469
@hectorcasiano7469 6 жыл бұрын
Go Jason go Jason!!!!
@tonyfremont
@tonyfremont 4 жыл бұрын
Only one "complaint" a backslash is not a slash. ;)
@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 ?
@dARTh_k3LLy
@dARTh_k3LLy 3 жыл бұрын
How could I grep email addresses and simply return the domain name part behind the “@“?
@bogdanvidrean4728
@bogdanvidrean4728 8 жыл бұрын
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?
@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?
@yash1152
@yash1152 Жыл бұрын
16:57 > _"\d Not standard in grep"_ aahhhhh!!! msys2's GNU grep 3.0 doesn't has this :)
@bobbysmith1439
@bobbysmith1439 6 жыл бұрын
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.
@jinxblaze
@jinxblaze 8 жыл бұрын
cool voice
@mrkiaa11
@mrkiaa11 6 жыл бұрын
where could find my dictionary in centos 7-x86
@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
@avin1608
@avin1608 3 жыл бұрын
Kang bli ngerti ngacung bae...
@akhileshyadav9862
@akhileshyadav9862 3 жыл бұрын
Can anyone help me to give numbers not alphanumericals
@rootofminusone
@rootofminusone 7 жыл бұрын
dog - dog = dog ok got it
@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
@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
@apparte462
@apparte462 4 жыл бұрын
I would turn into gay just to marry you, very good video!!
@deadpl55
@deadpl55 6 жыл бұрын
Grap "//d" /path/
Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text
37:55
Hard and Soft Links in Linux
18:07
Jason Wertz
Рет қаралды 120 М.
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
Learn Regular Expressions In 20 Minutes
20:52
Web Dev Simplified
Рет қаралды 1,3 МЛН
Using Regular Expressions - Computerphile
11:39
Computerphile
Рет қаралды 126 М.
Learn Regular Expressions (Regex) - Crash Course for Beginners
45:38
freeCodeCamp.org
Рет қаралды 213 М.
Streams, Redirection, and Piping
20:03
Jason Wertz
Рет қаралды 44 М.
Linux Command Line - Entire Tutorial Series
19:35:19
MichaelsTechTutorials
Рет қаралды 13 М.
Complete Regular Expressions Tutorial! (with exercises for practice)
1:19:21
Intro to xargs
9:35
Jason Wertz
Рет қаралды 31 М.
UNIX Shell Regular Expressions and the sed and grep commands [English]
52:19
Introduction to Advanced Bash Usage - James Pannacciulli @ OSCON 2014
42:53
James Pannacciulli
Рет қаралды 133 М.
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН