> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 正規表現で使用されるアルファベット

> ABBYY Vantage Scanning Station で使用される正規表現構文のリファレンスガイド。

Scanning Station では、登録パラメーターの値を検証するために、独自の正規表現アルファベットを使用します。以下のトークンは、使用できる構文を示しています。

| 名前               | 一般的な表記  | 使用例                                                            |
| :--------------- | :------ | :------------------------------------------------------------- |
| 任意の文字            | `*`     | `` `"c"*"t"` `` は `cat`、`cot` などの文字列を許可します。                    |
| 文字               | `C`     | `` `C"ot"` `` は `Rot`、`pot`、`cot`、`Dot`、`mot` などの文字列を許可します。    |
| 大文字              | `A`     | `` `A"ot"` `` は `Rot`、`Cot`、`Mot`、`Dot` などの文字列を許可します。          |
| 小文字              | `a`     | `` `a"ot"` `` は `rot`、`cot`、`mot`、`dot` などの文字列を許可します。          |
| 文字または数字          | `X`     | `` `X` `` は、単独の数字または文字を任意に許可します。                               |
| 数字               | `N`     | `` `N"th"` `` は `5th`、`4th`、`6th` などの文字列を許可します。                |
| 文字列              | `" "`   | `` `"cot"` ``                                                  |
| または              | `\|`    | `` `"pl"("o"\|"a")"t"` `` は `"plot"` と `"plat"` を許可します。        |
| グループ内の文字         | `[]`    | `` `[tm]"ot"` `` は `"tot"` と `"mot"` を許可します。                   |
| グループに含まれない文字     | `[^]`   | `` `[^t]"ot"` `` は `"cot"`、`"lot"` などを許可しますが、`"tot"` は許可しません。  |
| スペース (グループ内)     | `\s`    | `` `[A\s]` `` は、文字 `A` またはスペースのみを許可します。                        |
| 任意回数の繰り返し        | `{-}`   | `` `[AB74]{-}` `` は、`A`、`B`、`7`、`4` を任意に組み合わせた任意の長さの文字列を許可します。 |
| ちょうど n 回の繰り返し    | `{n}`   | `` `N{2}"th"` `` は `25th`、`84th`、`11th` などを許可します。              |
| n 回から m 回までの繰り返し | `{n-m}` | `` `N{1-3}"th"` `` は `5th`、`84th`、`111th` などを許可します。            |
| 0 回から n 回までの繰り返し | `{-n}`  | `` `N{-2}"th"` `` は `84th`、`5th` などを許可します。                     |
| n 回以上の繰り返し       | `{n-}`  | `` `N{2-}"th"` `` は `25th`、`834th`、`311th`、`34576th` などを許可します。 |
| 部分式              | `()`    | —                                                              |
| ハイフン記号           | `[\-]`  | —                                                              |
| スラッシュ記号          | `[\\]`  | —                                                              |

<div id="examples-of-regular-expressions">
  ## 正規表現の例
</div>

| 目的             | パターン                                                                                                                                                                    | サンプル値                                                                |
| :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------- |
| 郵便番号           | `[0-9]{6}`                                                                                                                                                              | `142172`                                                             |
| Zip code (USA) | `[0-9]{5}("-"[0-9]{4}){-1}`                                                                                                                                             | `55416`, `33701-4313`                                                |
| 収入             | `N{4-8}[,]N{2}`                                                                                                                                                         | `15000,00`, `4499,00`                                                |
| 月 (数値)         | `((\|"0")[1-9])\|("10")\|("11")\|("12")`                                                                                                                                | `4`, `05`, `12`                                                      |
| 小数             | `("-"\|)([0-9]{1-})(\|((".",")([0-9]{1-})))`                                                                                                                            | `1234,567`, `0.99`, `100,0`, `-345.6788903`                          |
| メールアドレス        | `[A-Za-z0-9_]{1-}((".""-")[A-Za-z0-9_]{1-}){-3}"@"[A-Za-z0-9_]{1-}((".""-")[A-Za-z0-9_]{1-}){-4}"."([A-Za-z]{2-4}\|"asia"\|"museum"\|"travel"\|"example"\|"localhost")` | `support@abbyy.com`, `my-name@company.org.ru`, `info@gallery.museum` |

<div id="related-topics">
  ## 関連トピック
</div>

* [バッチの登録パラメーター](/ja/vantage/documentation/scanning-station/interface/registration-params-batches)
* [登録パラメーターウィンドウ](/ja/vantage/documentation/scanning-station/interface/registration-params-window)
* [ドキュメントを手動でインデックス登録する](/ja/vantage/documentation/scanning-station/operator/index-manually)
* [付録](/ja/vantage/documentation/scanning-station/appendix/appendix)
