Regex tester
Test JavaScript RegExp against text. Copy JSON results or share a link.
Tip: v (Unicode sets) requires newer browsers; u is recommended for Unicode.

This tool runs only in your browser. It does not upload your text or regex anywhere.

“Share link” stores your pattern, flags, and text in the URL hash so you can reopen the same test.

Warning: some regular expressions can be slow (catastrophic backtracking). If your browser freezes, simplify your pattern or test shorter text.

About / 關於

Regex tester — Test JavaScript regular expressions (RegExp) against text locally. See matches + groups as JSON, copy results, or share a link. Browser-only MVP.

Example: Use this tool to sanity-check numbers quickly, then share the link if you need to discuss with others.

FAQ: (1) Does it upload my data? No—runs in your browser. (2) Can I share results? Yes—use the share link feature. (3) Is it authoritative? Treat it as a convenience, not professional advice.

正規表示式測試器 — 在本機用 JavaScript RegExp 測試文字:輸出 match 與 groups 的 JSON,支援複製結果與分享連結。純前端 MVP。

範例:用這個工具快速試算與對照結果,需要討論時再把連結分享給對方。

FAQ: (1) 會上傳資料嗎?不會,計算在瀏覽器內完成。 (2) 能分享結果嗎?可以,用分享連結。 (3) 準確嗎?請把它當作便利工具,不是專業建議。