###テキストファイルの2つの行を入れ替えたい
以下のようなテキストファイルがあった時、# text = と# id =の行を入れ替えたいです。
よろしくお願い致します。
例
この以下を
# text = Alan F. Shugart , currently chairman of Seagate Technology , led the team that developed the disk drives for PCs . # id =0022 1 A _ NNP _ _ _ _ _ _ 2 F _ NNP _ _ _ _ _ _ 3 S _ NNP _ _ _ _ _ _ # text = Dennis Hayes and Dale Heatherington , two Atlanta engineers , were co-developers of the internal modems that allow PCs to share data via the telephone . # id =0022 1 Dennis _ NNP _ _ _ _ _ _ 2 Hayes _ NNP _ _ _ _ _ _ 3 and _ CC _ _ _ _ _ _ 4 Dale _ NNP _ _ _ _ _ _ 5 Heatherington _ NNP _ _ _ _ _ _
このように(以下)したい
# id =0022 # text = Alan F. Shugart , currently chairman of Seagate Technology , led the team that developed the disk drives for PCs . 1 A _ NNP _ _ _ _ _ _ 2 F _ NNP _ _ _ _ _ _ 3 S _ NNP _ _ _ _ _ _ # id =0022 # text = Dennis Hayes and Dale Heatherington , two Atlanta engineers , were co-developers of the internal modems that allow PCs to share data via the telephone . 1 Dennis _ NNP _ _ _ _ _ _ 2 Hayes _ NNP _ _ _ _ _ _ 3 and _ CC _ _ _ _ _ _ 4 Dale _ NNP _ _ _ _ _ _ 5 Heatherington _ NNP _ _ _ _ _ _
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。