PasteZap
🌐 日本語
無料 · アカウント不要

無料 · 開発

正例と負例から Regex 作成.

一致させたい例と除外したい例から正規表現を推論し、必要に応じて完全一致の候補列挙に切り替えます。

はじめる前に

一部の技術的な操作項目は英語です。Unicode テキストに対応していますが、ファイル形式と出力言語はツールによって異なります。

技術的な制限は以下に英語で記載されています。大きなファイルを処理する前や結果を使用する前に確認してください。

LOCAL PROCESSING · NO ACCOUNTUpdates as you type
11 characters

1–100 positive and up to 100 negative lines, 200 characters per line. Fixed UTF-16 positions, supplied examples only; no general grammar inference.

正例と負例から Regex 作成の使用手順

データを入力するかファイルを選び、設定を調整して結果を生成します。コピーやダウンロードの前に結果を確認してください。

制限と対応形式

入力内容はお使いの端末で処理されます。

英語の技術説明

1–100 positive and up to 100 negative lines, 200 characters per line. Fixed UTF-16 positions, supplied examples only; no general grammar inference.

Infer fixed-position character classes with an exact-alternative fallback. 1–100 positive and up to 100 negative lines, 200 characters per line. Fixed UTF-16 positions, supplied examples only; no general grammar inference. Input remains in this browser page.

Run the editable example to inspect the result.