免费 · 文本
字面正则表达式生成器.
生成带锚点的正则表达式,恰好匹配您提供的示例行。
LOCAL PROCESSING · NO ACCOUNTUpdates as you type
使用字面正则表达式生成器的步骤
输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。
限制与支持格式
输入内容在您的设备上处理。
英语技术说明
Maximum 1,000 sample lines. Escapes regex syntax; does not infer a grammar.
Build an anchored regular expression matching exactly the sample lines you provide. Maximum 1,000 sample lines. Escapes regex syntax; does not infer a grammar.
a.b and c+d → ^(?:a\.b|c\+d)$