Sublime text 2 Search and replace with random number

you can find and replace the text string with a random number, for example.

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

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

perhaps?

+4
source share
1 answer

Not out of the box, but if you are familiar with Python, you can easily create a plugin for this.

+2
source

Source: https://habr.com/ru/post/1498565/


All Articles