使用正则表达式在两个标签之间进行选择?
抱歉,我的新手问题
在 Dreamweaver 中我想在两个 html 标签之间搜索和替换
</title> to <div class="content richcontent">
我也搜索了这个网站,但类似的问题不适用于我的情况
提前致谢
Sorry guys for my newbie question
In dreamweaver i want to search and replace between two html tags
</title> to <div class="content richcontent">
I also searched this site but similar questions don't work with my situation
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果 Dreamweaver 支持正则表达式搜索和替换,您可以使用它,
我不记得它是否支持/自从我使用它以来已经很多年了。
编辑
快速谷歌告诉我确实如此! http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_pt2.html
该链接还描述了如何使用正则表达式进行搜索和替换,以及仅搜索
If Dreamweaver supports regex search and replace you could use this
I cant remember if it does/did its been many many years since ive used it.
EDIT
Quick google tells me it does! http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_pt2.html
That link also describes how to use regex for search and replace, as well as just search
要输出名为“test.txt”的文件中“FOO”和“BAR”之间的所有文本,请在 shell 提示符下键入以下命令。 -n 选项禁止自动打印模式空间:
To output all the text from file called "test.txt" between "FOO" and "BAR", type the following command at a shell prompt. The -n option suppress automatic printing of pattern space: