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
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login