I want to replace the word “and” with “+” only within the double quotations using regex. For example:
string = graphene and “carbon and composites”
final = graphene and “carbon + composites”
Most of my regex statements are picking up every instance of and, but I want to limit it to ones enclosed in quotations