それで皆さん、
3076482 FinalDesir [email protected] 174.5.141.202 aedcbbf6570e664723318f5e57658625:KHG5CzJ3EO/mVta?<ZR*4b%9ucb?sa
例えば、この行があります^
それを変換したい
[email protected]:aedcbbf6570e664723318f5e57658625:KHG5CzJ3EO/mVta?<ZR*4b%9ucb?sa
答え1
- 検索対象:
^(?:\S+\h+){2}(\S+)\h+\S+\h+
- と置換する:
$1:
- Replace all
説明:
^ # beginning of line
(?: # start non capture group
\S+ # 1 or more non space characters
\h+ # 1 or more horizontal spaces
){2} # end group, must appear twice
(\S+) # group 1, 1 or more non space characters
\h+ # 1 or more horizontal spaces
\S+ # 1 or more non space characters
\h+ # 1 or more horizontal spaces
与えられた例の結果:
[email protected]:aedcbbf6570e664723318f5e57658625:KHG5CzJ3EO/mVta?<ZR*4b%9ucb?sa
画面キャプチャ: