a11y.skipToMainContent
1

Regex 模式构建器

通过从分类库中选择符号来构建正则表达式 。 以实时匹配的文本样本进行测试 突出显示和英语解释.

Click tokens from the library to build your pattern
Build a pattern by clicking tokens from the library on the left.
More options
Was this tool helpful?
Send output to:
Advertisement

How to use Regex Pattern Builder

  1. 从左侧的分类库取出符号 .
  2. 提示时输入限定值或组名 .
  3. 粘贴或键入测试文本并立即看到匹配的突出显示 .
  4. 复制已完成的 regex 或者用在您的代码中 .

{姓名}是什么来着?

我们的正则ex模式 Builder 允许您在不记住语法的情况下编曲正则表达式. 从字符类、 限定符、 组、 锚和常见模式中选择 。 @/p>

用活匹配突出显示的样本文本测试您的正则ex, 查看匹配细节与组抓取, 并读取对您的模式的平文英语解释 。 适合所有技能级别的开发者。

Advertisement

FAQ

我需要知道regex语法吗?
不,你通过结合预先制作的符号来建立视觉模式。 每个标志都贴上它匹配的标签.
我能测试一下我的Regex吗?
是- 粘贴测试文本和匹配在实时中突出显示匹配细节和组抓取.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement