正規表現テスター
リアルタイムのマッチハイライトとグループ抽出で正規表現をテスト
Match Information›
empty string✨ AIAssistant›
Explanation›
History›
Regex Tester & Debugger
Test and debug regular expressions with live match highlighting, group capture, and flag support. Works with JavaScript regex syntax. Paste your pattern, enter test text, and see matches instantly.
FAQ
What regex flags are supported?
g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), and y (sticky) — the same flags as JavaScript's RegExp.
How do I match a whole word?
Use word boundaries: \bword\b matches 'word' but not 'words' or 'keyword'.
How do I make a regex case-insensitive?
Add the i flag. /hello/i will match Hello, HELLO, hElLo, etc.
What is a capture group?
Parentheses create a capture group: (\d+) captures one or more digits. Named groups use (?<name>pattern).
さらに探す
おすすめのその他の 開発者ツール…
JSONフォーマッター
構文ハイライトとエラー検出でJSONを整形、検証、圧縮
Base64エンコーダー/デコーダー
テキストやファイルをBase64にエンコードし、Base64文字列を読めるテキストにデコード
URLエンコーダー/デコーダー
URLコンポーネントとクエリ文字列パラメータをエンコード・デコード
UUIDジェネレーター
ランダムUUID(v1、v4)を生成するか、複数のUUIDを一括生成
ハッシュジェネレーター
テキストやファイルからMD5、SHA-1、SHA-256、SHA-512ハッシュを生成
JWTデコーダー
JSON Web Tokenをデコードして検査 — ヘッダー、ペイロード、署名を確認
HTMLフォーマッター
適切なインデントと構文ハイライトでHTMLコードを整形・美化
CSS圧縮ツール
空白とコメントを削除してCSSコードを圧縮しファイルサイズを縮小