Sublime Forum

Replace string in simple quotes by string with backticks

#1

I often need to transform the quotes of a string by backticks.
I’m looking for a way to to that.

For example, I have this string:
‘should exist post’

I add a variable:
‘should exist post ${postId}’

So I need to transform it to:
`should exist post ${postId}`

0 Likes