How Top Use Regex to Replace All Data Between Quotes

Test Macro (v10.2)

I am trying to save and replace all data between quotes and need some help.

I want the results to be test data test data

Test.kmmacros (3.1 KB)

Note that the straight double quote character " is not the same as either the opening or closing double quote characters.


1 Like


That fixed my problem.

My next question is why when I type " in the set variable I get a different type than when I type the same key into the search and replace?

Or are my old eyes deceiving me?


Just turn off smart quotes in your keyboard system preferences.