【发布时间】:2011-03-04 23:19:16
【问题描述】:
正文:
<li><a href="#">Animal and Plant Health Inspection Service Permits
Provides information on the various permits that the Animal and Plant Health Inspection Service issues as well as online access for acquiring those permits.
我想使用正则表达式在Permits 的末尾插入</a>。碰巧的是,我所有类似的 HTML/文本块中都已经有了换行符。我相信我需要找到一个换行符\n,其中该行包含(或开头)<li><a href="#">。
【问题讨论】:
-
我有大量带有文本的 Photoshop 模板,我必须将它们转换为 html。单击 - 将 html 放入文本时,控件 V 变旧。我正在使用 Dreamweaver,它在搜索中内置了正则表达式功能。
标签: regex