跳到内容
RapideTools

正则测试器

实时测试正则表达式。

Enter a regular expression and a test string to see matches and capture groups live. Toggle the g, i, m, s and u flags. Everything runs locally in your browser using the JavaScript regex engine.

你的输入在浏览器本地处理 —— 不会上传、存储或记录。

为你节省时间了吗?请我喝杯咖啡

工作原理

  1. 1 Type your regular expression.
  2. 2 Toggle the flags you need.
  3. 3 Paste a test string to see matches and groups.

常见用例

  • Build and debug a pattern.
  • Check capture groups.
  • Validate input formats.
  • Learn how a regex behaves.

常见问题

Is my input sent to a server?

No. Everything runs locally in your browser — your input is never uploaded, stored or logged.

Which regex flavour is used?

JavaScript's RegExp engine, matching what runs in browsers and Node.js.

Is there an input limit?

Test text is capped at 50,000 characters to avoid slow patterns (catastrophic backtracking) freezing the page.

Is it really free?

Yes — free, with no signup and no limits.