I'm trying to develop a regular expression which will pick up the file names in a unix-based directory listing, e.g.,
-rw-rw-r-- 1 root root 116 Jan 19 08:02 file1.txt
-rw-rw-r-- 1 root root 9876 Jan 21 11:15 file2.txt
I tried setting the multiline option to true and using the following expression:
file\d\.txt$
It didn't find any matches. Am I missing something here?
-rw-rw-r-- 1 root root 116 Jan 19 08:02 file1.txt
-rw-rw-r-- 1 root root 9876 Jan 21 11:15 file2.txt
I tried setting the multiline option to true and using the following expression:
file\d\.txt$
It didn't find any matches. Am I missing something here?