Sublime text 2 搜索并替换为随机数

And*_*gan 6 regex ide sublimetext sublimetext2

是否可以用随机数搜索和替换文本字符串,例如

Search: "This is the number 23 and i like it"

replace: "this is the number " . Rand(0,100) . " and i like it"

那可能吗?

wes*_*bos 3

不是开箱即用的,但如果您熟悉 Python,您可以轻松创建一个插件来执行此操作。