文字工具

正則測試器

Test JavaScript regular expressions, flags, match indexes, and capture groups locally in your browser.

表達式

即時測試 JavaScript 正則表達式。

匹配結果

2 個匹配

gi
匹配 #1索引 8
alex@example.com
匹配 #2索引 28
ops@zptools.com

功能亮點

Live Matching

Update the expression or sample text and see matches immediately.

Flag Controls

Toggle global, case-insensitive, multiline, dotAll, unicode, and sticky flags.

Capture Groups

Inspect capture group output for each match.

Useful Presets

Start from common patterns like email, URL, IPv4, and hex colors.

Index Details

Each result includes the match number and starting index.

Local Only

Your regex and test text are evaluated directly by the browser.

常見問題

The tool uses JavaScript RegExp in your browser, so results match modern browser JavaScript behavior.

The UI adds global matching internally so it can list all matches, while still showing the flags you selected.

No. Matching happens locally in the browser.

持續成長的快速、隱私優先開發者工具集合。所有工具都在瀏覽器中執行,資料不會離開你的裝置。

工具

JSON 解析器JSON Schema 驗證器JSON 轉換器JSON 轉 TypeScriptOpenAPI 檢視器程式碼格式化SQL 格式化cURL 轉換器時間戳轉換器Cron 解析器URL 編碼器QR Code 工具IP 與 CIDR 計算器Gzip 與 Deflate 工具JWT 解碼器JWT 驗簽與 JWK 工具雜湊產生器密碼與 TOTPBase64 編碼器UUID 產生器圖片 metadata圖片壓縮Tiny 圖片壓縮器圖片工具箱 Pro螢幕錄製正則測試器文字 DiffMarkdown 與 Mermaid 預覽色彩與對比工具

法律

隱私權政策服務條款

© 2026 ZPTools. 保留所有權利。