所有工具Multilities
Regex Tester
Test regular expressions with live match highlighting
//
匹配 · 2
Hello world from Multilities
[0]Hello world($1=Hello, $2=world)
[1]from Multilities($1=from, $2=Multilities)
工作原理
Regex Tester — Test regular expressions with live match highlighting. 所有处理都在您的浏览器中进行 — 无需上传、无需注册、无需邮箱。永久免费。
常见问题
支持哪种正则风格?
JavaScript 的原生 RegExp 引擎,与浏览器和 Node.js 中相同。支持 ECMAScript 标志 g、i、m、s、u、y。
可以查看捕获组吗?
可以。每个匹配显示编号为 $1、$2…的捕获组。命名组出现在每个匹配的 JSON 输出中。
为什么 '.*' 匹配过多?
默认情况下 '.' 不匹配换行符。如需 '.' 匹配包含换行在内的所有字符,请开启 's'(dotAll)标志。
相关工具
- URL Encoder/DecoderPercent-encode and decode URI components and full URLs
- UUID GeneratorGenerate cryptographically random UUID v4 in bulk
- JWT DecoderDecode and inspect JSON Web Tokens (header, payload, expiry)
- Cron Expression BuilderBuild and explain cron expressions in plain language
- SQL FormatterBeautify, minify or format SQL queries for any major dialect
- YAML ↔ JSON ConverterConvert between YAML and JSON in either direction