How to modify everything between two of the same character

So if I had the expression:

"print('Hello')"

How could I use string.gsub to covert it into

"print('HiHelloHi')"

(In effect allowing me to modify the string between the two quotation marks. )