regexper
regexper 介绍
Regexper是一款正则可视化开源工具,直接输入正则表达式就能用可视化显示出来。 让正则表达式字符串以 Railroad 形式图形化,便于阅读和理解。
Regexper的使用
1.通过命令行工具将项目从github下载到本地
git clone https://github.com/javallone/regexper-static.git
2.下载完成后进入到下载的文件夹regexper-static里面,cd regexper-static,执行npm install,完成工具自动安装。
3.执行npm start启动任务,完成后将看到正在监听localhost:8080端口。
4.在浏览器访问localhost:8080就能离线使用这个工具了。
GitHub:https://github.com/javallone/regexper-static
网站描述:JavaScript 正则可视化工具