15 Regular Expression


15 Regular Expression

A regular expression is a user-defined pattern that allows Linux utilities to filter text. The figure below shows the process of filtering data using regular expressions. For example, the "*' character lists all files that match the pattern. Let's take a look at the example below. $ ls -al da* -rw-r--r-- 1 ==>List all files starting with da -rw-r--r-- 1 rich rich 25 Dec 4 12:40 data.ts -rw-r--..


원문링크 : 15 Regular Expression