Text Pattern Matching in Emacs
Common Patterns:
Pattern Matches
-----------------------------------
. any single character
\. one period
[0-9]+ digit sequence
[A-Za-z]+ sequence of letters
[_A-Za-z0-9]+ sequence of alphanumeric char and underscore
[-A-Za-z0-9]+ sequence of alphanumeric char and hyphen
[[:blank:]]+ sequence of tabs and spaces
"\([^"]+\)" capture text between double quotes
+ means match previous pattern 1 or more times
* means match previous pattern 0 or more times
? means match previous pattern 0 or 1 time
Also:
M-x regexp-builder