Help about text find and replace
-
Hi Guys,
My name is Matteo nd , if is possible I need your help !!
I need to change all the lines like this “txt”: “AGUAAAA”, with this thext “txt”: “”,. the word Aguaaaa could be different for every line… could you help me?
thanks in advance -
Hello @matteo-salviato and All,
Very easy with regular expressions !
I supposed that your text contents usual double quotes
"and not the Unicode chars“and”!Then :
-
Open the Replace dialog (
Ctrl + H) -
SEARCH
(?-si)"txt":\x20"(.+?)" -
REPLACE
"txt":\x20"" -
Tick the
Wrap aroundoption, preferably -
Select the
Regular expressionsearch mode -
Click on the
Replace Allbutton
Best Regards,
guy038
-
-
@guy038 said in Help about text find and replace:
Open the Replace dialog ( Ctrl + H )
SEARCH (?-si)“txt”:\x20"(.+?)"
REPLACE “txt”:\x20""
Tick the Wrap around option, preferably
Select the Regular expression search mode
Click on the Replace All button
Thanks a lot!!! it works very well!!!
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