D2D Utilities
▼

Regex Tester & ReDoS Guard

1,000ms ReDoS Worker Guard

Test, validate, and debug regular expressions with capture groups, live replacement preview, and 1,000ms ReDoS worker protection.

Client-Side Evaluation: Patterns and text never leave browser memory
//g
Flags:
Matches Breakdown
3 matches 0.02ms
Match #1index: 13 (19 chars)
"support@example.com"
$1:"support"$2:"example.com"user:"support"domain:"example.com"
Match #2index: 36 (16 chars)
"admin@domain.org"
$1:"admin"$2:"domain.org"user:"admin"domain:"domain.org"
Match #3index: 98 (16 chars)
"sales@store.net."
$1:"sales"$2:"store.net."user:"sales"domain:"store.net."
Replace Preview

ReDoS Protection & Evaluation

Pathological regular expressions with overlapping nested quantifiers (such as (a+)+$) can cause exponential backtracking, freezing the browser. This tester isolates evaluation in a dedicated Web Worker with a strict 1,000ms hard deadline.

正規表現をテストする方法

  1. 1正規表現パターンを入力します。
  2. 2対象テキストを入力し、マッチ結果を確認します。

Frequently Asked Questions

ReDoS対策とは?

ブラウザのフリーズを防ぐため、1000msで自動停止する安全機構です。