小编mem*_*rat的帖子

正则表达式在Notepad ++中将URL转换为HTML <a href>超链接?

我有一个文本文件中的URL列表我试图更改为HTML,但我失败了.

我的网址采用以下格式:

http://mydomain.com/here-are-my-links.html
Run Code Online (Sandbox Code Playgroud)

有没有人知道我可以在Notepad ++中运行的正则表达式搜索/替换命令将我的URL列表更改为以下格式:

<a href="http://mydomain.com/here-are-my-links.html">here are my links</a>
Run Code Online (Sandbox Code Playgroud)

regex notepad++

3
推荐指数
1
解决办法
2066
查看次数

标签 统计

notepad++ ×1

regex ×1