ToolPal

正则表达式测试器

通过实时匹配和高亮测试和调试正则表达式。

//g

使用方法

通过实时匹配和高亮测试和调试正则表达式。

  1. 1Enter your regular expression pattern in the pattern field.
  2. 2Set flags (global, case-insensitive, multiline) as needed.
  3. 3Type or paste your test string in the input area.
  4. 4Matches are highlighted in real-time as you type.

主要功能

  • Real-time regex matching with highlighted results
  • Support for all JavaScript regex flags (g, i, m, s)
  • Shows match count and captured groups
  • Quick reference for common regex patterns

常见问题

了解更多