| Metacharacter | Description | Example |
| ? | Any single character | s?t finds "sat" and "set". |
| * | Any string of characters | s*d finds "sad" and "started". |
| @ | One or more occurrences of the previous character or expression. | lo@t finds "lot" and "loot". |
| < | The beginning of a word | <(inter) finds "interesting" and "intercept", but not "splintered". |
| > | The end of a word | (in)> finds "in" and "within", but not "interesting". |
| [a] | One of the specified characters | w[io]n finds "win" and "won". |
| [A-Za-z] | Any single character in this range | [r-t]ight finds "right" and "sight". Ranges must be in ascending order. |
| [!A-Z] | Any single character except the characters in | t[!a-m]ck finds "tock" and "tuck", but not the range inside the brackets "tack" or "tick". |
| {1} | Exactly n occurrences of the previous character or expression. | fe{2}d finds "feed" but not "fed". |
| {2,} | At least n occurrences of the previous character or expression. | fe{1,}d finds "fed" and "feed" |
| {1,3} | From n to m occurrences of the previous character or expression | 10{1,3} finds "10", "100", and "1000". |
| ^13 | Carriage Return | |
| () | Pattern group ([A-Z]) | |
| \1 | First Pattern group | \1 - finds first pattern group and appends a hyphen |
Translate
Monday, November 28, 2011
Winword Replace Wildcard Characters
Labels:
winword