Find and replace string between quotes
问题 I'm reading a file and I would like to replace any text which appears between two double quotes like this: If file input is: Hi, I'm an example file! "Hi there example file." "I'm mostly just here to get this quote to be colored!" Output should be: Hi, I'm an example file! [color=x]"Hi there example file."[/color] [color=x]"I'm mostly just here to get this quote to be colored!"[/color] I've wrote these three modules to do that, the first two work but the last doesn't. Module 1: __author__ =