2022年12月23日 星期五

尋找及取代 萬用字元 (WordMVP)

 

   摘錄自MS WordMVP 

Finding and replacing characters using wildcards

Article contributed by Graham Mayor, with thanks also to Klaus Linke

https://wordmvp.com/FAQs/General/UsingWildcards.htm

Contents

Overview

The theory

 

1.

? and *

4.

[ ]

7.

{ }

 

2.

@

5.

\

8.

( )

 

3.

< >

6.

[!]

9.

^

The practice

Tips for advanced users (原文超連無效;先跳至下節再回轉)           

Gremlins to be aware of (for advanced users)

  
讓萬用字元更very powerful.
 
 you can define ranges [], groups (), repeats @, {}, anchors < > and exceptions !.

Note: Word uses “lazy” pattern matching: this means it will quit matching as soon as possible.
→實務上有何影響?

使用秘密:以類型 (pattern)為標的


中文實例及說明參見 MS Word 尋找及取代 第1-12課 及 第1-13課。


#wildcard

沒有留言: