filmov
tv
Regular Expressions With GNU grep in the Terminal - Part 01 [Learn by Practicing]
Показать описание
Regular expressions (or regex) is a powerful tool to match patterns of text. This video is the first part of a series on regular expression with Grep, with practical cases and exercises for you to understand how it works.
I'm using GNU grep. Other implementation of grep might be a bit different. You can't use Perl regex (-P option) with BSD grep for example (by default on MacOS). However, what I demonstrate in the video should work with the Extended regex flavor too (-E option).
A little mistake: pgrep is NOT grep -P
Chapters:
00:00 How to follow along with me
01:51 Regex with Grep, metacharacters, and escaping
04:10 Regex flavors (Basic, extended, and Perl regex)
07:57 egrep / fgrep / pgreg
09:10 Matching a word ("\b" or "-w")
11:10 Matching from the beginning of the line ("^")
13:08 Matching till the end of the line ("$")
14:24 Exercises
17:37 Matching any character with "."
20:14 Matching whitespaces using "\s"
21:16 Character class "[ ]"
24:19 Exercises
27:18 Thanks!
I'm using GNU grep. Other implementation of grep might be a bit different. You can't use Perl regex (-P option) with BSD grep for example (by default on MacOS). However, what I demonstrate in the video should work with the Extended regex flavor too (-E option).
A little mistake: pgrep is NOT grep -P
Chapters:
00:00 How to follow along with me
01:51 Regex with Grep, metacharacters, and escaping
04:10 Regex flavors (Basic, extended, and Perl regex)
07:57 egrep / fgrep / pgreg
09:10 Matching a word ("\b" or "-w")
11:10 Matching from the beginning of the line ("^")
13:08 Matching till the end of the line ("$")
14:24 Exercises
17:37 Matching any character with "."
20:14 Matching whitespaces using "\s"
21:16 Character class "[ ]"
24:19 Exercises
27:18 Thanks!
Regular Expressions With GNU grep in the Terminal - Part 01 [Learn by Practicing]
Regular Expressions With GNU grep in the Terminal - Part 02 [Learn by Practicing]
Linux 1_17 analyze text using regular expressions with grep
get a grip on grep
Unix: gnu grep multiple filters in one regex
Top 5 Grep Regex Mistakes Explained - Linux Command-Line
Grep and Regex
The Insanity Of Linux's Regular Expressions
Getting Started with grep and Regular Expressions
Use of quotes in GNU grep regular expressions (2 Solutions!!)
I'll Never Use Grep The Same Way Again - BRE Vs. ERE vs. Perl
Where GREP Came From - Computerphile
Using Regex (regular expressions) and grep to search files and filesystems
Regular Expressions on Linux - grep command #shorts
Grep Sed Awk Made Easy #shorts
Regular Expressions - Linux Tutorial 10
Grep Regular Expression in Linux server
GREP: FIND TEXT LIKE A PRO
Linux Crash Course - The grep Command
Bracket expressions in grep regular expressions
Regular expressions in sed & grep: powerful tools for searching and modifying files in bash (CC0...
Unix & Linux: Using a perl compatible regex with GNU grep -P (3 Solutions!!)
Advanced regular expressions usage with real world example
Repetition in grep regular expressions
Комментарии