我的文档有几百行代码。我正在使用Coda编辑文件。我正在尝试使用带有“空格”的[tibby]标签替换内容。例如,我想更改以下内容:
Some text before the tag [tippy title="Share the Knowledge"]Some content. http://twitter.com/home?status=subject" title="Tweet This"> Some other content.[/tippy] More text...
以下内容:
Some text before the tag More text...
基本上删除了[tippy]标签以及打开和关闭标签内的所有内容。
有人会非常友好地告诉我在搜索字符串中输入的内容。
由于
答案 0 :(得分:1)
易:
find: \[tippy[^]]*][^]]*\[/tippy] or \[\/tippy]
replace: a space
OR
find: \[tiby[^\]]*\][^\]]\[/tippy\] or \[\/typpy\]
replace: a space