正規表現テスター
リアルタイムマッチングとキャプチャグループで正規表現をテスト。
//g
Contact us at hello@example.com or support@test.org
マッチ: 2
#1
hello@example.com@14Group 1: helloGroup 2: example.com
#2
support@test.org@35Group 1: supportGroup 2: test.org
How to Use
- 1
Enter your regular expression pattern in the Pattern field.
- 2
Type or paste your test string in the Test String field.
- 3
View highlighted matches and capture groups in real time. Toggle flags like g, i, m, s as needed.
Features
Live Match Highlighting
Matches are highlighted in the test string in real time as you type your pattern.
Capture Group Display
See all named and numbered capture groups listed for each match.
Flag Controls
Toggle global (g), case-insensitive (i), multiline (m), and dotAll (s) flags with checkboxes.
Match Count
The total number of matches is shown so you can quickly verify your pattern is working correctly.
FAQ
どのフラグに対応?
グローバル(g)、大小文字無視(i)、マルチライン(m)、dotAll(s)。
キャプチャグループを表示?
はい、各マッチの名前付き・番号付きグループを表示。