grep and egrep with regular expression
CTRL + H | |
---|---|
punctuation | \p{Punct}+ |
number | [0-9]+ |
start with number | ^[0-9]+ |
remove all letters | [a-z]|[A-Z] |
all letters ( including Chinese char ) | [[:alpha:]] [\u\l] |
grep and egrep with regular expression
CTRL + H | |
---|---|
punctuation | \p{Punct}+ |
number | [0-9]+ |
start with number | ^[0-9]+ |
remove all letters | [a-z]|[A-Z] |
all letters ( including Chinese char ) | [[:alpha:]] [\u\l] |