正则表达式测试
共匹配 0 项
联系邮箱:hello@example.com,备用邮箱:support@usefulshelf.com
联系邮箱:[hello@example.com],备用邮箱:[support@usefulshelf.com]
测试和调试正则表达式
联系邮箱:[hello@example.com],备用邮箱:[support@usefulshelf.com]
验证规则、筛选文本或调试表达式时使用。
正则测试采用浏览器 JavaScript 的表达式规则。一次匹配成功只说明当前样本命中,不能代替对完整输入范围的验证。
/[A-Z]{2}\d{3}/g
AB123 cd456 EF789AB123
EF789表达式输入框填 [A-Z]{2}\d{3},开启 g 标志,测试文本填第二行。大写前缀匹配,cd456 不匹配;开启 i 后再检查大小写差异。
结果与说明不一致?请附上不含隐私的复现步骤。 反馈问题