崇高文本中的正则表达式[0-9]

时间:2012-10-18 14:04:07

标签: sublimetext2

在我的几页中,我想改变所有

43th 
12th

以UTF-8代码

43&th;
12&th;

如何使用正则表达式在崇高文本2中执行此操作?

提前致谢

卢卡

1 个答案:

答案 0 :(得分:1)

要查找元素,您可以使用这样的正则表达式:

([0-9][0-9])th

然后替换为:

$1&th;

enter image description here