In my unix world that won't work. 9.*d could match a d in move 10, since 9.* is a regular expression which will match ANYTHING. So if it finds a 9, followed ANYWHERE on the line by a d, that would match and probably not do what you intended. Of course, in unix, that "." is also problematic unless you quote it (\.) since . matches any single character in regular-expression parlance...Adam Hair wrote:Hi Frank,Frank Quisinsky wrote:Hi there,
or Textpad do this one ...
I have interest on work with "search and replace".
In my opening book lines with priority d to a after 6 moves.
Text format from Shredder's own opening book:
Example:
7- F8E8 a B2B3 a C8G4 a H2H3 a G4F3 a D1F3 a B8D7 a F3E2 a D8A5 a A2A3 a A5A6 a ;
9- G4H5 a G3G4 a H5G6 d F3H4 a D6B4 a E4D5 a C6D5 a ;
I can search with:
9.*d ... and find all what I want to find in a very big file.
Not my problem ...
Means can find the lines after 9 moves (for that example) I have a "d" and not the right "a". In the past lines ended with "d". After x updates and extensions (working daily on my book since three years) I have today this problem!
Now I will replace in these lines d only with ... a
I am not sure what I have to give for an order in Notepad++
"replace with"
Maybe a person can help here?!
Best, sorry for that question and thanks!
Try out this in the night more hours and for the moment I gave up.
To overwork 13.000x "d" is to many work. I think in the file of my book I have around 10.000x d and this is wrong (more blemish).
Best
Frank
I am out of practice and I do not have a computer to experiment with, but may be this will work for you:
Find: (9.*)d
Replace: \1a
The parentheses groups together the characters corresponding to 9.*. \1 references the first group in the regular expression, allowing it in this case to remain unchanged.
Hope this works for you.
Not sure about windows, but "*" is generally NOT what you want when doing search and replace.