1
Loading...

Every Linux User Should Know Regex and Awk

Vote
62 62 views
6m Dec 29, 2020
G

Regex is a fundamental skill for anyone working with text streams, whether professionally or just for managing your Linux system but a lot of regex examples are needlessly complex and it doesn't have to be like that. Regex is actually quite easy once you understand the components.

=========Support The Channel==========
► $100 Linode Credit: https://linode.gvw92c.net/BrodieRobertson
► Paypal: https://www.paypal.me/BrodieRobertsonVideo
► Amazon USA: https://amzn.to/3d5gykF
► Other Methods: https://cointr.ee/brodierobertson

==========Resources==========
GNU Awk Manual: https://www.gnu.org/software/gawk/manual/gawk.html
Date Validation: https://stackoverflow.com/questions/42355995/regex-to-match-date-formats-dd-mm-yyyy-and-dd-mm-yyyy

=========Video Platforms==========
? LBRY: https://open.lbry.com/@BrodieRobertson#5
? BitChute: https://www.bitchute.com/channel/brodierobertson/
? YouTube Podcast: https://www.youtube.com/c/TechOverTea

==========Social Media==========
? Mastodon: https://mstdn.social/@BrodieOnLinux
✉️ Telegram: https://t.me/BrodieRobertson

==========My Repos==========
?️ GitHub: https://github.com/BrodieRobertson

==========Credits==========
? Channel Art:
All my art has was created by Supercozman
https://twitter.com/Supercozman
https://www.instagram.com/supercozman_draws/

? Ending music
Music from https://filmmusic.io
"Basic Implosion" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)

DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase I may receive a small commission or other compensation.

Table of Contents

Timecode Title
0:00 Introduction
1:58 Regex In Awk
2:29 Match On Start
2:56 Match On End
3:19 Match On Any Symbol
4:12 Repeat Previous 0 or More Times
5:25 Repeat Previous 1 Or More Times
6:14 Alternation
6:47 Interval Expressions
7:28 Grouping
7:50 Bracket Expansion
8:49 Escaping Special Symbols
9:34 Character Classes & Range Expressions
11:08 Matching Expression
12:07 Breaking Down Starting Regex
13:36 Closing

About Brodie Robertson

For all general enquiries feel free to contact me through any social media service listed below, If you'd like to longer form something longer form like fan mail or you have a video suggestion, feel free to send me an email.


0 Comments

Markdown is supported.
Life Hacks with Randy Dreammaker – S1 • E3
3 days ago