Hello , Tino and Peter,
Congratulations to you, both ! Tino, for nicely exposing your wish and Peter for your full explanation, about the proposed regex :-)
An other S/R, using the \K syntax, could be :
Find what : ^.{20}\K.{10}
Replace with : 0000000000
Notes :
As soon as the first twenty characters of the current line are matched, the \K feature forces the regex engine to forget anything previously matched and reset the regex engine position !
So the final match is, only, the ten characters, located between the columns 21 and 30
… which is, simply, changed into the 0000000000 string :-)
Remark :
You must use the Replace All button, only. The step by step replacement, with the Replace button, does NOT work, when the search regex contains a \K form !Best regards,
guy038