{ }
開發者工具
Regex Tester
Regex Tester 在瀏覽器中執行,用於檢查、轉換或準備結果,不會把輸入傳送到伺服器。
開發者工具
Input / output
Browser local
Matches, capture groups, and replacement output are calculated in a browser Worker without server upload.
Matches
2
Rendered
2
Capture groups
2
Input chars
15
abc def
Match table
| # | Match | Start | End | Length | Groups |
|---|---|---|---|---|---|
| 123 | 4 | 7 | 3 | 1 | |
| 456 | 12 | 15 | 3 | 1 |
Capture group table
| # | Group | Value |
|---|---|---|
| 1 | group 1 | 123 |
| 2 | group 1 | 456 |
Replacement preview
abc #123 def #456
Safety budget
- Input limit
- 20,000 chars
- Max matches
- 500
- Worker timeout
- 300ms
- Risk precheck
- nested quantifier block
HelpOpen usage notes, examples, practical tips, and FAQ only when you need them.
What is this tool?
Regex Tester 是用於開發流程的本機瀏覽器工具,輸入、選項與結果都在同一頁完成。
How to use it
- 貼上輸入
在輸入區域輸入或貼上要處理的值。
- 調整選項
選擇適合 regex, regular expression, pattern test 的模式、格式或單位。
- 檢查結果
執行工具,確認結果後再複製或下載。
Examples
Regex Tester 範例
- Input
- 範例輸入
- Output
- 在瀏覽器中檢查後的輸出。
Practical tips
- 內容較大時,先從小樣本開始。
- 廣告會保持在主要控制項和結果區域之外。
FAQ
Regex Tester 應該輸入什麼?
請輸入與頁面任務相符的值,並在執行前調整選項。
可以複製 Regex Tester 的結果嗎?
可以。檢查結果後即可複製或下載。
Regex Tester 支援行動裝置嗎?
支援。輸入、選項和結果會在小螢幕上縱向排列。
輸入會傳送到伺服器嗎?
不會。此工具設計為在瀏覽器內處理輸入。