|
別の文字列 さん今日は、ひろです。
> 上記行頭以外の英字部分(=最初のab
> c除く)のみを別の文字に置き換えたい
#reg_search = searchmode;
$search = searchbuffer;
#search = searchoption;
openreg "CURRENTUSER", "Software\\Hidemaruo\\Hidemaru\\Env";
writeregnum "SelectFound",1;
envchanged;
closereg;
gofiletop;
setsearch "[A-Za-z]+",16;
finddown2;
while(result){
if( column )insert "別の文字列";
else moveto selendx,selendy;
finddown;
}
openreg "CURRENTUSER", "Software\\Hidemaruo\\Hidemaru\\Env";
writeregnum "SelectFound",#reg_search;
envchanged;
closereg;
setsearch $search, #search;
endmacro;
|
|