linux 正則表達式 Regular express

 "Open Source" is a good mechanism to develop programs.express

apple is my favorit food.app

Football game is not use feet only.ide

this dress doesn't fit me.this

However,this dress is about $ 3183 dollars.google

GNU is free air not free beer.spa

Her hair is very beautiful.it

I can't finish the test.ast

Oh! The soup taste good.class

motorcycle is cheap than car.test

This window is clear.

the symbol '*' is represented as start .

oh ! my god !

The gd software is a library for drafting programs.

You are the best is mean you are the NO.1.

The world is the same with "glad".

I like dog.

google is the best tools for search keyword.

goooooogle yes!

go! go! Let's go .


# I am Maple

 


grep the regular_express.txt

grep -n 'the' regular_express.txt

grep -vn 'the' regular_express.txt

grep -n 't[ae]st' regular_express.txt

grep -n 'oo' regular_express.txt

grep -n '[^g]oo' regular_express.txt

grep -n '[^a-z]oo' regular_express.txt

grep -n '[0-9]' regular_express.txt

grep -n '^the' regular_express.txt

grep -n '^[^a-zA-Z]' regular_express.txt

grep '\.$' regular_express.txt

grep -v '^$' /etc/syslog.conf | grep -v '^#'

grep 'ooo*' regular_express.txt         note: grep at least two 'o' in the file

grep 'g.*g' regular_express.txt

grep '[0-9][0-9]*' regular_express.txt

grep 'o\{2,5\}' regular_express.txt

相關文章
相關標籤/搜索