Eclipse正则表达式找到并替换

时间:2011-07-26 14:33:11

标签: regex eclipse

我需要找到

<th>blah</th>

并替换为:

<td class="shaded">blah</td>

感谢帮助......:)

2 个答案:

答案 0 :(得分:2)

您可以使用全部替换按钮。

您会发现here的此屏幕截图非常有用。

enter image description here

答案 1 :(得分:1)

这是另一个专门针对您的情况的屏幕截图:

enter image description here

这将是您正在编辑的当前文件中的替换。您可以使用roadrunner的答案作为全球范围内的指南。