Massive list and massive search and replace?
-
Sorry to ask and bother you. I tried to edit your py code as below, but it seems to be a wrong code. Could you advise how to correct:
Not work:
# FINALLY, the actual replacement! editor.rereplace('\b'+find_what+'\b', replace_with)
Not work 2:
# FINALLY, the actual replacement! editor.rereplace(r'\b'+find_what+'\b', replace_with)
-
@Yurble-Vương said :
Not work 2
This should work:
editor.rereplace(r'\b'+find_what+r'\b', replace_with)
I like how you showed initiative in trying to solve the problem yourself…and you had the right idea, you just didn’t take it far enough.
-
Many thanks for help
-
A Alan Kilborn referenced this topic on