正規表現テスター

リアルタイムのマッチハイライト、トークンの説明、サンプル文字列生成で正規表現をテスト

/ /
0 件の一致
一致箇所がここにハイライトされます。
まだ一致がありません。
  • パターンの説明がここに表示されます。

                

使い方

ステップ 1

パターンを入力

正規表現を入力し、関連するフラグを選択します。

ステップ 2

テキストをリアルタイムでテスト

ハイライトされた一致とキャプチャグループをリアルタイムで確認します。

ステップ 3

解釈と生成

パターンの説明を確認し、サンプル文字列を生成します。

よくある質問

Does the regex tester support flags like g, i, m, s and u?

Yes. You can toggle global, ignore case, multiline, dotAll, unicode, and sticky flags in the tester.

How does regex explanation work?

The parser reads your pattern token by token and generates plain-language explanations for anchors, classes, groups, and quantifiers.

Can I generate example strings from a regex?

Yes. The sample generator creates a representative string using your current pattern so you can quickly sanity-check intent.