Word 查找替换通配符

 These wildcards are handy for finding words that you don't know how to spell.

For example, if you are not sure how to spell receive, you can type rec??ve. Word then locates any word that begins with rec followed by any two characters followed by ve.

Search Operators:

  • ? - Any single character.

    For example, d?g finds digdog, and dug, but not drug and ridge.

  • * - Zero or more characters: finds a word with the specified characters and zero or more characters in place of *.

    For example, des*t finds descentdesertdestinydessert, and destruct and even excludes thecodes - to.

  • < - Beginning of the word.

    For example, <tel finds telemarketingtelephone, and television, but not hotel and retell.

  • > - End of the word.

    For example, ion> finds aggravationinspiration, and institution, but not ionic and bionomics.

  • @ - Preceding one or more: finds one or more of the characters immediately preceding the @ sign.

    For example, ^p@^t finds one or more paragraph break marks followed by a tab mark.

  • [] - One of the specified characters.

    For example, b[aeiu]t finds batbetbit, and but, but not debt and boot.

  • [-] - Any character from the range.

    For example, [a-m]end finds bendfendlend, and mend (the first character in this case is am, or any letter between them), but not rend and end.

  • [!] - Not: finds the text but excludes the characters inside the brackets.

    For example, t[!ae]ll finds till and toll but not tall and tell.

  • [!a-z] - Any single character with the exception of the ones in the range inside the bracket.

    For example, m[!o-z]st finds mast and mist, but not most or must.

  • {n} - Exact number of occurrences: finds the specified number of occurrences of the letter immediately before the {.

    For example, to{2} finds too and tool but not to.

  • {n,} - Minimum number of occurrences: adding a comma after the number tells Word to look for at least that number of occurrences.

    For example, a{4,} finds four or more of the letter a in a row.

  • {n,n} - Minimum and maximum number of occurrences.

    For example, 10{2,3} finds 100 and 1000, but not 10.

  • () - Expression: lets you "nest" search expressions within a search term.

    For example, <(pre)*(ed)> finds presorted and prevented, but not repressed and precedent.

特殊字符

代码or通配符

示例

任意单个字符(只用于查找框)

?

“蓝?公司”可找到“蓝天公司”和“蓝羚公司”

表达式

( )

“<(pre)*(ed)> ”可查找“presorted”和“prevented”

单词开头

“<(inter)”可找到“interesting”和“intercept”,而不会找“splintered”

单词结尾

“(in)>”可找到“in”和“within”,而不会找“interesting”

任意字符串(单个或多个字符)

*

 “蓝*公司”可找到“蓝羚公司”和“蓝羚花木公司”

指定字符之一

[]

“[记纪]录”可找到“记录”和“纪录”

指定范围内任意单个字符

[ - ]

[r-t]ight可找到“right”“sight”,必须用升序来表示该范围

方括号内字符以外的任意单个字符

[!]

“m[!a]st”可找到“mist”和“most”,而不会找“mast”

指定范围外任意单个字符

[!x-z]

“t[!a-m]st”可找到“tock”和“tuck”,而不会找到“tack”或“tick”

1个以上前一字符或表达式

@

“lo@t”可找到“lot”和“loot”

n 个前一字符或表达式

{ n }

“fe{2}d”可找到“feed”,而不会找“fed”

n个以上前一字符或表达式

{ n, }

“fe{1,}d”可找到“fed”和“feed”

n 到m 个前一字符或表达式

{ n,m }

“10{1,3}”可找到“10”、“100”“1000”

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值