UltraTools LogoUltraTools
熱門任務工具PDF圖片關於
UltraTools LogoUltraTools
熱門任務工具PDF圖片關於

Regex TesterLocal Regex Debugger

Test and debug regular expressions instantly in your browser. 100% local, privacy-first.
Test Regex Now

測試介面

正則、旗標、樣本文本

一邊改表達式,一邊切換 flags 並馬上驗證。

除錯輸出

匹配結果與捕獲組

模式庫

內建常用示例

測試介面

正則、旗標、樣本文本

一邊改表達式,一邊切換 flags 並馬上驗證。

除錯輸出

匹配結果與捕獲組

不只看有沒有命中,還能檢查每個捕獲組。

模式庫

內建常用示例

常見正則可直接拿來改,不必每次從空白開始。

繼續上次進度

第一次使用?現在就可以開始。

3步完成

  1. 1輸入正則表達式
  2. 2選擇旗標並加入樣本文本
  3. 3查看匹配結果與捕獲組
隱私安全
極速體驗
無需安裝

Regex Tester

Test and debug regular expressions instantly in your browser. 100% local, privacy-first.

Common Patterns

Email Address

Match email addresses

[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
URL

Match HTTP/HTTPS URLs

https?:\/\/[\w\-._~:/?#[\]@!$&'()*+,;=%]+
Phone Number

Match phone numbers

\+?[\d\s\-().]{10,}
IPv4 Address

Match IPv4 addresses

\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b
Date (YYYY-MM-DD)

Match dates in ISO format

\d{4}-\d{2}-\d{2}
Time (HH:MM:SS)

Match time in 24-hour format

(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d
Hex Color

Match hex color codes

#(?:[0-9a-fA-F]{3}){1,2}\b
Username

Match usernames (3-16 chars, starts with letter)

^[a-zA-Z][a-zA-Z0-9_]{2,15}$
Strong Password

Match strong passwords (8+ chars, upper, lower, number, special)

^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$
Credit Card

Match credit card numbers

\b(?:\d{4}[- ]?){3}\d{4}\b

Keep moving

Jump back to the broader workflow lane or open a tighter task entry page when this tool is only part of the job.

Browse developer tools

Return to the broader technical workflow lane for logs, diffs, and structured data cleanup.

Test regex online

Use the task-first path when the immediate job is debugging a pattern quickly.

常見問題

關於此工具您需要了解的一切。

01

Is this secure?

Yes. All regex testing happens locally in your browser. No data is sent to any server.

02

What flags are supported?

We support global (g), case-insensitive (i), multiline (m), dotAll (s), and unicode (u) flags.

隱私安全

所有處理都在瀏覽器中 100% 完成。文件從未上傳到任何服務器。

極速體驗

由 WebAssembly 驅動,提供近乎原生的性能。無需等待上傳。

無需安裝

在任何設備 (Windows, Mac, Chromebook, 手機) 的 Chrome/Edge/Firefox 瀏覽器中直接運行。

隱私條款關於聯絡

100% 客戶端處理 • 數據不離開您的裝置