We can select parts of code or text by repeated clicks like so:
But it seems like Mathematica skips one level. Between image 2 and 3 there should be an intermediate level of selected code that would highlight only WORD1 WORD2 WORD3 not with quotation marks like we can see on image 3.
Is there some way I can tell Mathematica to select text by clicking inside quotation marks properly?
This drives me crazy I have to copy lots of texts manually from different sources to the same place in code between quotation marks. But I have to first click right of the first quotation mark then hold the mouse button and move mouse to left of the second quotation mark release button and only then I can pres CTRL+V to paste text. Or I can triple click then type SHIFT + " then press CTRL+V and finally press SHIFT + " again.
If the selection was done properly I would do only triple click and press CTRL+V and the new text would appear inside quotation marks.






StringReplace[ToString[Unevaluated[WORD1 WORD2 WORD3]], " " -> ""]– SquareOne Sep 02 '20 at 07:13StringReplace["", " " -> ""]then insert your string inside the first""? – SquareOne Sep 02 '20 at 07:28"", then evaluate the code, then paste a new text in place of the previous one and so on... if you have to pressShift+"Ctrl+VShift+"with left hand (while using mouse in right hand) about hundred times in a row you will understand what I mean.Ctrl+Vlies on the left of the keyboard andShift+"on right of the keyboard. Unfortunately the pasting can not be done automatically it needs to be done manually. – azerbajdzan Sep 02 '20 at 07:58/*-+?.<>in the copied text. Fortunately my texts only consist of letters A..Z and space. – azerbajdzan Sep 02 '20 at 08:11"WORD1 WORD2 WORD3"writeStringTake["(WORD1 WORD2 WORD3)", {2, -2}]: the repeated clicks will allow to select only what is between the parenthesis, – SquareOne Sep 02 '20 at 09:45{"text1...", "text2...", ...}), 2/ Read the file and this list into Mathematica 3/ Apply your function to each of the strings in the list (usingMap). You'll save at least half of the time compared to now. By the way if you use Unix/lLinux like OS, maybe a program utility likesedwould fit your needs to parse and transform the text. – SquareOne Sep 02 '20 at 12:59