批量修改文本 (文本处理) Replace Pioneer
[00:00.00]4Then[00:03.22]JesuswasledbytheSpiritintothe[00:05.16]deserttobetemptedbyth...
[00:00.00]4Then
[00:03.22]Jesus was led by the Spirit into the
[00:05.16]desert to be tempted by the devil.
[00:06.94]2After fasting forty days and forty
[00:09.97]nights, he was hungry. 3The tempter came
[00:12.66]to him and said, "If you are the Son of
[00:17.96]God, tell these stones to become bread."
[00:22.30]4Jesus answered, "It is written: 'Man
[00:28.24]does not live on bread alone, but on
[00:30.98]every word that comes from the mouth of
[00:33.78]God.' " 5Then the devil took him to the
[00:37.14]holy city and had him stand on the
[00:39.64]highest point of the temple. 6"If you
[00:43.25]are the Son of God," he said, "throw
[00:47.76]yourself down. For it is written: " 'He
修改成 [00:00.00]4Then Jesus was led by the Spirit into the
[00:05.16]desert to be tempted by the devil. 2After fasting forty days and forty
[00:09.97]nights, he was hungry. 3The tempter came to him and said, "If you are the Son of
[00:17.96]God, tell these stones to become bread." 4Jesus answered, "It is written: 'Man
[00:28.24]does not live on bread alone, but on every word that comes from the mouth of
[00:33.78]God.' " 5Then the devil took him to the holy city and had him stand on the
[00:39.64]highest point of the temple. 6"If you are the Son of God," he said, "throw
[00:47.76]yourself down. For it is written: " 'He
1.删除奇数行的换行(或者用空格替换掉)
2.删除偶数行前面10个字符([00:47.76]时间标签咯)
。 展开
[00:03.22]Jesus was led by the Spirit into the
[00:05.16]desert to be tempted by the devil.
[00:06.94]2After fasting forty days and forty
[00:09.97]nights, he was hungry. 3The tempter came
[00:12.66]to him and said, "If you are the Son of
[00:17.96]God, tell these stones to become bread."
[00:22.30]4Jesus answered, "It is written: 'Man
[00:28.24]does not live on bread alone, but on
[00:30.98]every word that comes from the mouth of
[00:33.78]God.' " 5Then the devil took him to the
[00:37.14]holy city and had him stand on the
[00:39.64]highest point of the temple. 6"If you
[00:43.25]are the Son of God," he said, "throw
[00:47.76]yourself down. For it is written: " 'He
修改成 [00:00.00]4Then Jesus was led by the Spirit into the
[00:05.16]desert to be tempted by the devil. 2After fasting forty days and forty
[00:09.97]nights, he was hungry. 3The tempter came to him and said, "If you are the Son of
[00:17.96]God, tell these stones to become bread." 4Jesus answered, "It is written: 'Man
[00:28.24]does not live on bread alone, but on every word that comes from the mouth of
[00:33.78]God.' " 5Then the devil took him to the holy city and had him stand on the
[00:39.64]highest point of the temple. 6"If you are the Son of God," he said, "throw
[00:47.76]yourself down. For it is written: " 'He
1.删除奇数行的换行(或者用空格替换掉)
2.删除偶数行前面10个字符([00:47.76]时间标签咯)
。 展开
1个回答
展开全部
用Replace Pioneer可以更简单地一步完成,只需把第奇数次出现的\n[xx:xx:xx]删除即可。详细步骤:
1. ctrl-o 打开文本文件
2. ctrl-h 打开replace窗口
* 在Unit Number filter输入1<2>表示奇数次
* 在Search for pattern输入"\n\[.*?\]"(不带双引号)
* 在Replace with pattern输入一个空格,否则文字就连在一起了。
4. 点击Replace,完成!ctrl-s存盘。
注:1<2>N表示从1开始,增量为2,直到N为止,即1,3,5,...N。如果N省略不写,即1<2>,表示从1开始,增量为2,直到文本最后。
1. ctrl-o 打开文本文件
2. ctrl-h 打开replace窗口
* 在Unit Number filter输入1<2>表示奇数次
* 在Search for pattern输入"\n\[.*?\]"(不带双引号)
* 在Replace with pattern输入一个空格,否则文字就连在一起了。
4. 点击Replace,完成!ctrl-s存盘。
注:1<2>N表示从1开始,增量为2,直到N为止,即1,3,5,...N。如果N省略不写,即1<2>,表示从1开始,增量为2,直到文本最后。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询