@Bertil-Wallman said in Need to, in steps, copy/cut/paste:
@PeterJones
(?-s)^nid (".“)\r\nnstr “”* didn’t work for me, so i tried it bit by bit and this > (?-s)^nid (".”)\nnstr “”* worked much better.
Hi Peter…
Notepad++ is a Windows text editor, so assuming Windows line endings is natural, and works for the majority of the people; if you had mentioned that you were using Linux line endings, I would have customized the expression for your actual data.
That instruction… "initial = 1, increase = ``, leading = none… the increase part didn’t work for me either, the box didn’t allow me to add those characters,
That was a typo on my part. It should have said “increase = 1” – I just missed the 1 in between the ` characters for trying to make the 1 red like 1 .
And that \bnstr \b didn’t work too, so i removed the last \b then i was back on track. :)
There was no space between the str and the \b in my example. In my testing, I literally used \bnstr\b and it worked. If you used \bnstr \b, it would not work, because the next character after the space is a " , and between the space and the quote mark is not a word-boundary.
But i had some other problems with the file to deal with first, …
Glad you figured it out.