Introduction to regular expressions


show more Introduction to regular expressions provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users show less
please wait ...

Introduction to regular expressions

In the previous movie we learned to use grep to search by using a simple text string as our search expression. Grep becomes even more powerful once we learn to use regular expressions. Now there is a lot to learn about regular expressions. We can have an entire course on them, and we won't too in-depth here, but in this movie we will cover the most essential concepts so that you can apply them and use them with grep. To begin with notice that in the Terminal I'm inside my user directory and I'll just change it to my unix_files directory. And the file that we're going to start by working with is the same fruit.txt file that we're working with in the last movie.

It's just a simple list of fruit that we can search inside of and see how regular expressions work. To begin with we saw that we can grep for apple inside fruit.txt. First thing I want to tell you about regular expressions is that it's a good idea to put quotes around it. Now they are not strictly required, ...

Introduction to regular expressions
Video duration: 3m 22s 6h 35m Beginner

Viewers:

Introduction to regular expressions provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users

Subject:
IT
Software:
Mac OS X Unix
Author:
please wait ...